[Bootstrap] Fix incorrectly reading autoupdate config option
This commit is contained in:
parent
45723b9b66
commit
2110bfbf41
1 changed files with 1 additions and 1 deletions
2
src/bootstrap.js
vendored
2
src/bootstrap.js
vendored
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue