electron updater allow prerelease

This commit is contained in:
SPRINX0\prochazka
2024-09-05 12:34:38 +02:00
parent 2e67769491
commit 0f247450c7

View File

@@ -78,6 +78,7 @@ autoUpdater.logger = log;
if (updaterChannel) {
autoUpdater.channel = updaterChannel;
}
autoUpdater.allowPrerelease = updaterChannel && updaterChannel.includes('beta');
// TODO - create settings for this
// appUpdater.channel = 'beta';