hotfix: make createWindow arrow function

This commit is contained in:
George Lima 2018-11-26 18:21:25 -03:00
parent 3339f055f8
commit 6e268bdb57
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ const showStatus = (text) => {
});
};
function createWindow() {
const createWindow = () => {
autoUpdater.checkForUpdatesAndNotify();
autoUpdater.on('checking-for-update', () => showStatus('Checking for update'));
@ -96,7 +96,7 @@ function createWindow() {
exports.app = app;
exports.tray = tray;
}
};
app.on('ready', createWindow);
app.on('activate', () => {