Log on app ready

This commit is contained in:
lilia 2017-04-13 12:36:04 -07:00 committed by Scott Nonnenberg
parent a55c61a3ba
commit 14b65a9dce
No known key found for this signature in database
GPG key ID: A4931C09644C654B

View file

@ -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()