mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
refactor
This commit is contained in:
@@ -77,8 +77,8 @@ log.transports.file.level = 'debug';
|
||||
autoUpdater.logger = log;
|
||||
if (updaterChannel) {
|
||||
autoUpdater.channel = updaterChannel;
|
||||
autoUpdater.allowPrerelease = updaterChannel.includes('beta');
|
||||
}
|
||||
autoUpdater.allowPrerelease = updaterChannel && updaterChannel.includes('beta');
|
||||
// TODO - create settings for this
|
||||
// appUpdater.channel = 'beta';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user