Skip to content

Commit

Permalink
更新版本号至 0.12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed May 4, 2024
1 parent c59b063 commit 585f372
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ class Config(QConfig):

YEAR = 2023
AUTHOR = "Zaphkiel"
VERSION = "0.12.1"
VERSION = "0.12.2"
FEEDBACK_URL = "https://github.com/Zzaphkiel/Seraphine/issues?q=is%3Aissue"
GITHUB_URL = "https://github.com/Zzaphkiel/Seraphine"
LOCAL_PATH = f"{os.getenv('APPDATA')}\\Seraphine"
Expand Down
5 changes: 5 additions & 0 deletions app/lol/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,6 +869,11 @@ async def getSGPtoken(self):
res = await res.json()

return res['accessToken']

async def restartClient(self):
res = await self.__post("/riotclient/kill-and-restart-ux")

return res

async def getSummonerGamesByPuuidViaSGP(self, token, puuid, begIdx, endIdx):
logger.debug(
Expand Down
3 changes: 3 additions & 0 deletions app/view/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -846,6 +846,9 @@ async def __onGameStart(self):

# 如果是进游戏后开的软件,需要先把友方信息更新上去
async def paintAllySummonersInfo():
if self.gameInfoInterface.allyOrder and len(self.gameInfoInterface.allyOrder) == 5:
return

self.gameInfoInterface.allyChampions = {}
self.gameInfoInterface.allyOrder = []

Expand Down

0 comments on commit 585f372

Please sign in to comment.