Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

Commit

Permalink
Updating map build
Browse files Browse the repository at this point in the history
  • Loading branch information
mchristopher committed Aug 30, 2016
1 parent 15ad777 commit a81426a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
11 changes: 7 additions & 4 deletions app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ autoUpdater.on('update-downloaded', function(){
mainWindow.webContents.send('update-ready');
});

try {
autoUpdater.checkForUpdates();
} catch (e) {}

// Setup menu bar
var template = [{
label: "Application",
Expand Down Expand Up @@ -134,6 +130,13 @@ function setupMainWindow() {
partition: 'persist:pogolivemap'
}
});

mainWindow.webContents.once("did-frame-finish-load", function (e) {
try {
autoUpdater.checkForUpdates();
} catch (e) {}
});

mainWindow.loadURL('file://' + __dirname + '/login.html');

mainWindow.on('closed', function() {
Expand Down
2 changes: 1 addition & 1 deletion app/map
Submodule map updated from 5f56ee to 9a1ef2
2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Mike Christopher",
"repository": "https://github.com/mchristopher/PokemonGo-DesktopMap",
"license": "MIT",
"version" : "0.3.2",
"version" : "0.3.3",
"main": "main.js",
"scripts": {
"start": "electron ."
Expand Down

0 comments on commit a81426a

Please sign in to comment.