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