-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to start app after silent install #1545
Comments
If you call |
what we want to achieve is to install as soon as the update is downloaded then start the app again, and this to be completely silent Our app normally runs in the background (on the tray, this way we can achieve silent updates without the user being notified) if there is a better way to achieve this then pls tell me |
My understanding how this works at the moment: Install on app quit -> silent mode -> app wont start automatically |
App will be not started automatically on silent install. As you pointed (
|
I closed by accident, probably clicked on the wrong button, sry |
I just had an issue using TypeScript, it seems like I have to call Otherwise I see a But as I understand, that flag should have a default to It seems to have the default But not in the general Am I misunderstanding something or maybe does the |
If --force-run flag is specified on installer then will start the app on silent install Exposed forceRun flag on NSIS updater quit and install, default value is false electron-userland#1545
Hi, we would like to do silent updates on our app, but using our one click installer that's at the moment not possible. We are calling quitAndInstall on the update-downloaded trigger, which does not start in silent mode.
The other thing is that we would like to do it seemlessly so the app should start after a silent install.
There are two things there then, to allow to specify on quit and install to do a silent one , or an other method, and the other thing is to be able to specify for the installer a flag at runtime or compile time that overrides the if in :
electron-builder/packages/electron-builder/templates/nsis/installSection.nsh
Line 192 in 002a714
The text was updated successfully, but these errors were encountered: