aboutsummaryrefslogtreecommitdiffstats
path: root/src/electron
diff options
context:
space:
mode:
authorLibravatar Stefan Malzner <stefan@adlk.io>2018-12-03 15:32:28 +0100
committerLibravatar Stefan Malzner <stefan@adlk.io>2018-12-03 15:32:28 +0100
commit72fcaef303f1d81f279edb2ff2071f58cce07313 (patch)
tree5643ae8b671b613c397003382b7c56e3a7358fd9 /src/electron
parentMerge branch 'master' into develop (diff)
downloadferdium-app-72fcaef303f1d81f279edb2ff2071f58cce07313.tar.gz
ferdium-app-72fcaef303f1d81f279edb2ff2071f58cce07313.tar.zst
ferdium-app-72fcaef303f1d81f279edb2ff2071f58cce07313.zip
Set autoInstallOnAppQuit to false
Diffstat (limited to 'src/electron')
-rw-r--r--src/electron/ipc-api/autoUpdate.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js
index 9ccc89ea2..83dd83712 100644
--- a/src/electron/ipc-api/autoUpdate.js
+++ b/src/electron/ipc-api/autoUpdate.js
@@ -7,6 +7,7 @@ export default (params) => {
7 if (process.platform === 'darwin' || process.platform === 'win32') { 7 if (process.platform === 'darwin' || process.platform === 'win32') {
8 ipcMain.on('autoUpdate', (event, args) => { 8 ipcMain.on('autoUpdate', (event, args) => {
9 try { 9 try {
10 autoUpdater.autoInstallOnAppQuit = false;
10 autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta')); 11 autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta'));
11 if (args.action === 'check') { 12 if (args.action === 'check') {
12 autoUpdater.checkForUpdates(); 13 autoUpdater.checkForUpdates();