wails icon indicating copy to clipboard operation
wails copied to clipboard

Support "Start on login"

Open leaanthony opened this issue 3 years ago • 9 comments

Have the ability to start the application automatically on login.

  • [x] Windows
  • [x] Mac
  • [ ] Linux

leaanthony avatar Aug 24 '22 07:08 leaanthony

Here's a possible solution for this: https://github.com/emersion/go-autostart

JulioDRF avatar Oct 01 '22 19:10 JulioDRF

Another reference: https://github.com/kardianos/service

misitebao avatar Mar 16 '23 15:03 misitebao

This has now been implemented for mac + windows as a v3 plugin.

leaanthony avatar Aug 03 '23 22:08 leaanthony

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

acheong08 avatar Apr 22 '24 22:04 acheong08

Good call!

leaanthony avatar Apr 23 '24 08:04 leaanthony

@leaanthony as the plugin in Wails 3 has been deprecated, could we consider reopening this ticket? If you want i can take this up.

ansxuman avatar Nov 23 '24 13:11 ansxuman

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.

leaanthony avatar Nov 23 '24 20:11 leaanthony

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

ansxuman avatar Nov 24 '24 04:11 ansxuman

https://github.com/wailsapp/wails/pull/3910

ansxuman avatar Nov 24 '24 12:11 ansxuman