Skip to content

Commit

Permalink
Upgrade Electron v5 to v8
Browse files Browse the repository at this point in the history
Fix some warnings
  • Loading branch information
Jyben committed Mar 27, 2020
1 parent 6a219ea commit 27c36a1
Show file tree
Hide file tree
Showing 4 changed files with 318 additions and 831 deletions.
16 changes: 9 additions & 7 deletions app/services/alive.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ const Axios = require('axios');
let AliveService = function () { }

AliveService.prototype.postImalive = async function () {
await Axios({
url: `https://whoisalive.azurewebsites.net/imalive`,
method: 'post',
data: {
application: 'csgo-mm-server-picker'
}
});
try {
await Axios({
url: `https://whoisalive.azurewebsites.net/imalive`,
method: 'post',
data: {
application: 'csgo-mm-server-picker'
}
});
} catch (error) { } // Do nothing
}

module.exports = AliveService;
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function initialize() {
});
}

app.allowRendererProcessReuse = true;

app.on('ready', createWindow);

app.on('window-all-closed', () => {
Expand Down
Loading

0 comments on commit 27c36a1

Please sign in to comment.