-
-
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
NSIS AutoUpdater QuitAndInstall prompting user to close app before installing #1368
Comments
you have manage to manualy update the app??? not auto |
like if update is avalable and if user want to instal now or later |
@George35mk the check for update is done before a "sync" action happens. I want to make sure the user is running the latest version before the sync happens. This happens in the background as this app runs in the users app tray. |
dustintownsend look my main.js i think is gona help you if yes tell me i want to ask you to help me to maybe you know ################################################################ `console.time('init'); const {app, BrowserWindow, Menu, protocol, ipcMain} = require('electron'); //------------------------------------------------------------------- //------------------------------------------------------------------- function sendStatusToWindow(text) { function createDefaultWindow() { autoUpdater.on('checking-for-update', () => { app.on('ready', function() { createDefaultWindow(); //------------------------------------------------------------------- autoUpdater.on('update-downloaded', (ev, info) => { setTimeout(function() { app.on('ready', function() { console.timeEnd('init');` |
is work ??? |
After an update is downloaded I call quitAndInstall. It works, but the installer opens before it is able to fully close the application.
The message is
APPNAME is running. Click OK to close it and continue with install.
If you click okay it runs the installer and relaunched with no issues.
Is there anyway to prevent this prompt and just default to close the application and continue with the install?
The text was updated successfully, but these errors were encountered: