From 9bfd90717bae8360774db179862945d2e232cf27 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Thu, 26 Aug 2021 11:47:17 +0530 Subject: chore: specify the channel to check if it fixes the in-app updater. --- src/electron/ipc-api/autoUpdate.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/electron') diff --git a/src/electron/ipc-api/autoUpdate.js b/src/electron/ipc-api/autoUpdate.js index 5305d5618..255595b9e 100644 --- a/src/electron/ipc-api/autoUpdate.js +++ b/src/electron/ipc-api/autoUpdate.js @@ -17,9 +17,11 @@ export default (params) => { try { autoUpdater.autoInstallOnAppQuit = false; autoUpdater.allowPrerelease = Boolean(params.settings.app.get('beta')); + autoUpdater.channel = autoUpdater.allowPrerelease ? 'beta' : 'latest'; if (params.settings.app.get('nightly')) { autoUpdater.allowPrerelease = Boolean(params.settings.app.get('nightly')); + autoUpdater.channel = 'alpha'; autoUpdater.setFeedURL({ provider: 'github', owner: GITHUB_ORG_NAME, -- cgit v1.2.3-54-g00ecf