add release channel setting and implementation

This commit is contained in:
jeffvli
2025-10-11 15:05:29 -07:00
parent f14d1f3c5c
commit 4d12a4d6cb
7 changed files with 104 additions and 56 deletions
+4
View File
@@ -44,6 +44,10 @@ export default class AppUpdater {
log.transports.file.level = 'info';
autoUpdater.logger = autoUpdaterLogInterface;
autoUpdater.checkForUpdatesAndNotify();
if (store.get('release_channel') === 'beta') {
autoUpdater.channel = 'beta';
}
}
}