Electron-builder: any way to make the installer register to run at system startup ?

Created on 27 Apr 2016  Â·  3Comments  Â·  Source: electron-userland/electron-builder

i'm developing a productivity app that's kind of like spotlight on a mac, i want it to automatically run on system startup (windows mostly) .
so when i restart my pc i don't need to manually start it again.

question

Most helpful comment

@talarari Not possible, because in case of DMG user just copy app to any location and run. So, the only correct (reliable, cross-platform) solution is to handle it on an application-level.

All 3 comments

Google it. First result — https://www.npmjs.com/package/auto-launch

saw this, was wondering if there's something built in with electron-builder.
thanks! i'll use auto-launch module.

@talarari Not possible, because in case of DMG user just copy app to any location and run. So, the only correct (reliable, cross-platform) solution is to handle it on an application-level.

Was this page helpful?
0 / 5 - 0 ratings