Auto Update with electron-updater (WIP) #808

Merged
alexliebowitz merged 36 commits from auto-update into master 2018-01-24 23:51:49 +01:00
Showing only changes of commit e98231fed3 - Show all commits

View file

@ -198,8 +198,13 @@ export function doCheckUpgradeAvailable() {
});
if (["win32", "darwin"].includes(process.platform)) {
// On Windows and Mac, updates happen silently
autoUpdater.checkForUpdates();
// On Windows and Mac, updates happen silently through
// electron-updater.
const autoUpdateDeclined = selectAutoUpdateDeclined(state);
if (!autoUpdateDeclined) {
autoUpdater.checkForUpdates();
}
return;
}