Log on app ready
This commit is contained in:
parent
a55c61a3ba
commit
14b65a9dce
1 changed files with 1 additions and 0 deletions
1
main.js
1
main.js
|
@ -103,6 +103,7 @@ function createWindow () {
|
|||
// initialization and is ready to create browser windows.
|
||||
// Some APIs can only be used after this event occurs.
|
||||
app.on('ready', function() {
|
||||
console.log('app ready');
|
||||
if (!config.get('disableAutoUpdate')) {
|
||||
autoUpdater.addListener('update-downloaded', function() {
|
||||
autoUpdater.quitAndInstall()
|
||||
|
|
Loading…
Reference in a new issue