Support "Start on login"
Have the ability to start the application automatically on login.
- [x] Windows
- [x] Mac
- [ ] Linux
Here's a possible solution for this: https://github.com/emersion/go-autostart
Another reference: https://github.com/kardianos/service
This has now been implemented for mac + windows as a v3 plugin.
I see it's there for Linux & works on GNOME/KDE. Should this be closed? https://github.com/wailsapp/wails/blob/v3-alpha/v3/plugins/experimental/start_at_login/plugin_linux.go
Good call!
@leaanthony as the plugin in Wails 3 has been deprecated, could we consider reopening this ticket? If you want i can take this up.
Thanks for picking this up @ansxuman ! I believe most of the code is there to reference but it might also be good to look at the libraries listed in this thread to understand perhaps better ways of doing it.
Thanks for picking this up @ansxuman ! I believe most of the code is there to reference but it might also be good to look at the libraries listed in this thread to understand perhaps better ways of doing it.
Sure
https://github.com/wailsapp/wails/pull/3910