I'm a Native Android developer for a few years now...
# compose-desktop
e
I'm a Native Android developer for a few years now, but it's my first week trying out compose desktop, and I would like to know if and how it's possible to startup the application on Windows reboot? (Links to documentation etc. are also ok.)
m
Do you need start at boot or (more likely) start on user login? The former is mostly only needed for hardware related stuff and is harder to do. If the latter then it depends on which packaging tool you use. If you use Conveyor it's pretty easy although I'll need to give you a config snippet because it's not mentioned (yet) in the main docs. Otherwise it'll depend on whether you're using NSIS or MSI and you'll probably have to change the config files that are used to build them.
e
I use Intellij Idea, and package it with gradle. And I use packageMSI, so what config files do I need to edit?
m
Not sure, sorry. Something Wix related
e
Ok thanks.
m
@E Fefer If you're still having trouble with that, we just released an update to Conveyor (an alternative packaging tool; see below in the chat) which adds support for start-on-login. You just add
app.windows.start-on-login = true
to the config file and it's done. https://hydraulic.software/blog/4-september-updates.html
e
Will check it out, Thanks!