This commit is contained in:
SPRINX0\prochazka
2024-09-05 13:58:31 +02:00
parent 77b6bddd87
commit 22a81ed2ee

View File

@@ -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';