diff options
author | 2021-06-02 11:58:43 +0530 | |
---|---|---|
committer | 2021-06-02 15:56:56 +0530 | |
commit | a8bb0c46b072960c5f1596c0e27531bb14e720c8 (patch) | |
tree | 653a30b6d760dba00320e0c6a60e8ae25b15ae24 /src/electron/ipc-api | |
parent | docs: add prasann as a contributor (#1477) (diff) | |
download | ferdium-app-a8bb0c46b072960c5f1596c0e27531bb14e720c8.tar.gz ferdium-app-a8bb0c46b072960c5f1596c0e27531bb14e720c8.tar.zst ferdium-app-a8bb0c46b072960c5f1596c0e27531bb14e720c8.zip |
Allow nightlies as pre-releases (possible fix for broken updater in nightlies).
Diffstat (limited to 'src/electron/ipc-api')
-rw-r--r-- | src/electron/ipc-api/autoUpdate.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js index ec7fa9d8a..58eda801c 100644 --- a/src/electron/ipc-api/autoUpdate.js +++ b/src/electron/ipc-api/autoUpdate.js | |||
@@ -18,6 +18,7 @@ export default (params) => { | |||
18 | autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta')); | 18 | autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta')); |
19 | 19 | ||
20 | if (params.settings.app.get('nightly')) { | 20 | if (params.settings.app.get('nightly')) { |
21 | autoUpdater.allowPrerelease = Boolean(params.settings.app.get('nightly')); | ||
21 | autoUpdater.setFeedURL({ | 22 | autoUpdater.setFeedURL({ |
22 | provider: 'github', | 23 | provider: 'github', |
23 | repo: 'nightlies', | 24 | repo: 'nightlies', |