diff options
author | 2018-12-01 22:07:30 +0100 | |
---|---|---|
committer | 2018-12-01 22:09:54 +0100 | |
commit | c6770776ad5b218f10e5dd922ea062ecf24783f5 (patch) | |
tree | 11d6ecd342eb19c290f11732255848d0caafaf1a /src/electron/ipc-api | |
parent | Automatic i18n update (i18n.meetfranz.com) (diff) | |
download | ferdium-app-c6770776ad5b218f10e5dd922ea062ecf24783f5.tar.gz ferdium-app-c6770776ad5b218f10e5dd922ea062ecf24783f5.tar.zst ferdium-app-c6770776ad5b218f10e5dd922ea062ecf24783f5.zip |
Fix updater
Diffstat (limited to 'src/electron/ipc-api')
-rw-r--r-- | src/electron/ipc-api/autoUpdate.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js index ba49a2f97..db5d9663e 100644 --- a/src/electron/ipc-api/autoUpdate.js +++ b/src/electron/ipc-api/autoUpdate.js | |||
@@ -7,7 +7,7 @@ export default (params) => { | |||
7 | // autoUpdater.setFeedURL(updateUrl); | 7 | // autoUpdater.setFeedURL(updateUrl); |
8 | ipcMain.on('autoUpdate', (event, args) => { | 8 | ipcMain.on('autoUpdate', (event, args) => { |
9 | try { | 9 | try { |
10 | autoUpdater.allowPrerelease = Boolean(params.settings.get('beta')); | 10 | autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta')); |
11 | if (args.action === 'check') { | 11 | if (args.action === 'check') { |
12 | autoUpdater.checkForUpdates(); | 12 | autoUpdater.checkForUpdates(); |
13 | } else if (args.action === 'install') { | 13 | } else if (args.action === 'install') { |