Skip to content

Commit

Permalink
Merge pull request #32 from LyticalApp/1.2.7
Browse files Browse the repository at this point in the history
Lobby roles (not that it matters anymore) & fix auto updater
  • Loading branch information
downthecrop authored Nov 17, 2022
2 parents 1b110f9 + d5ebc68 commit 2395c1c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Lytical",
"author": "downthecrop",
"description": "Lytical is an open source League of Legends statistics and profile analytics tool for all regions including Garena and WeGame",
"version": "1.2.6",
"version": "1.2.7",
"repository": "https://github.com/LyticalApp/Lytical/",
"private": true,
"scripts": {
Expand Down
6 changes: 4 additions & 2 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ app.on('ready', async () => {
createWindow();
// eslint-disable-next-line global-require
if (require('electron-squirrel-startup')) return;
// eslint-disable-next-line global-require
require('update-electron-app')();
win.once('ready-to-show', win.show);
});

Expand Down Expand Up @@ -286,7 +288,7 @@ ipcMain.on('asynchronous-message', (event, req) => {
).then(
(matchHistory) => {
rankedData.teamId = req.teamId;
rankedData.position = req.pos;
rankedData.position = req.pos.toUpperCase();
rankedData.matchHistory = JSON.parse(matchHistory);
event.reply(
'asynchronous-reply',
Expand Down Expand Up @@ -315,7 +317,7 @@ ipcMain.on('asynchronous-message', (event, req) => {
(matchHistory) => {
rankedData.teamId = req.teamId;
rankedData.championId = req.championId;
rankedData.position = req.position;
rankedData.position = req.position.toUpperCase();
rankedData.matchHistory = JSON.parse(matchHistory);
event.reply(
'asynchronous-reply',
Expand Down

0 comments on commit 2395c1c

Please sign in to comment.