Skip to content

Commit

Permalink
Set autoInstallOnAppQuit to false
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Dec 3, 2018
1 parent edbceda commit 72fcaef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/electron/ipc-api/autoUpdate.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default (params) => {
if (process.platform === 'darwin' || process.platform === 'win32') {
ipcMain.on('autoUpdate', (event, args) => {
try {
autoUpdater.autoInstallOnAppQuit = false;
autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta'));
if (args.action === 'check') {
autoUpdater.checkForUpdates();
Expand Down

0 comments on commit 72fcaef

Please sign in to comment.