[Bootstrap] Fix incorrectly reading autoupdate config option

This commit is contained in:
Ducko 2021-12-11 13:28:47 +00:00
parent 45723b9b66
commit 2110bfbf41
1 changed files with 1 additions and 1 deletions

2
src/bootstrap.js vendored
View File

@ -57,7 +57,7 @@ const startUpdate = () => {
desktopCore.setMainWindowVisible(true);
setTimeout(() => { // Try to update our asar
if (!oaConfig.autoupdate) return; // If autoupdate disabled, don't update
if (oaConfig.autoupdate === false) return; // If autoupdate disabled, don't update
const asarUpdate = require('./asarUpdate');