Skip to content

Commit

Permalink
1.0.10
Browse files Browse the repository at this point in the history
  • Loading branch information
shoaibkhandev committed Oct 29, 2020
1 parent 5498cf7 commit be594e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { app, BrowserWindow, ipcMain } = require('electron');
// const { autoUpdater } = require('electron-updater');
const { autoUpdater } = require('electron-updater');

let mainWindow;

Expand All @@ -11,14 +11,14 @@ function createWindow () {
nodeIntegration: true,
},
});
mainWindow.loadFile('index2.html');
mainWindow.loadFile('index.html');
mainWindow.on('closed', function () {
mainWindow = null;
});
}

app.on('ready', () => {
// autoUpdater.checkForUpdatesAndNotify();
autoUpdater.checkForUpdatesAndNotify();
createWindow();
});

Expand Down

0 comments on commit be594e8

Please sign in to comment.