1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-11 00:36:26 +00:00

Remove debug statements

This commit is contained in:
Gonçalo Santos
2020-05-19 10:04:23 +01:00
committed by Junyoung Choi
parent 3e405e1abf
commit ef20a8f3e5

View File

@@ -44,9 +44,10 @@ function checkUpdate(manualTriggered = false) {
return true
}
// End if auto updates disabled and it is an automatic check
if (!electronConfig.get('autoUpdateEnabled', true) && !manualTriggered) return
if (process.platform === 'linux' || isUpdateReady || updateFound) {
console.log('READY|FOUND', isUpdateReady, updateFound)
return true
}
@@ -138,7 +139,4 @@ app.on('ready', function() {
ipcServer.server.start()
})
module.exports = {
app,
checkUpdate
}
module.exports = app