mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
add release channel setting and implementation
This commit is contained in:
@@ -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';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user