Test updates 4a #7638
2 changed files with 3 additions and 0 deletions
|
@ -34,6 +34,7 @@ try {
|
||||||
upgradeDisabled = false;
|
upgradeDisabled = false;
|
||||||
}
|
}
|
||||||
autoUpdater.autoDownload = !upgradeDisabled;
|
autoUpdater.autoDownload = !upgradeDisabled;
|
||||||
|
autoUpdater.allowPrerelease = false;
|
||||||
|
|
||||||
// This is set to true if an auto update has been downloaded through the Electron
|
// This is set to true if an auto update has been downloaded through the Electron
|
||||||
// auto-update system and is ready to install. If the user declined an update earlier,
|
// auto-update system and is ready to install. If the user declined an update earlier,
|
||||||
|
|
|
@ -213,6 +213,8 @@ function AppWrapper() {
|
||||||
const enabled = makeSelectClientSetting(SETTINGS.ENABLE_PRERELEASE_UPDATES)(state);
|
const enabled = makeSelectClientSetting(SETTINGS.ENABLE_PRERELEASE_UPDATES)(state);
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
autoUpdater.allowPrerelease = true;
|
autoUpdater.allowPrerelease = true;
|
||||||
|
} else {
|
||||||
|
autoUpdater.allowPrerelease = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [persistDone]);
|
}, [persistDone]);
|
||||||
|
|
Loading…
Reference in a new issue