XK9274 / syncthing-app-miyoo

Sets up Syncthing and injects into Onions runtime
71 stars 2 forks source link

Syncthing doesn't launch when Onion boots into the gameswitcher or boots directly into a game #6

Closed samiralam closed 9 months ago

samiralam commented 10 months ago

I noticed that when OnionOS auto launches something at boot (e.g. if booting into GameSwitcher is enabled, or Onion auto-resumes a game), syncthing won't start until you exit to MainUI.

To reproduce:

This is likely because the app injects the checkrun.sh call into runtime.sh after auto launch occurs, so it never makes it there. Moving the checkrun.sh call to right before the auto launch section seems to fix the issue.