Skip to content

Commit

Permalink
更新版本号至 v0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Jul 7, 2024
1 parent 04dd466 commit 74ab905
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions app/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ class Config(QConfig):

YEAR = 2023
AUTHOR = "Zzaphkiel"
VERSION = "0.13.0"
BETA = "0.13.1-beta3"
VERSION = "0.13.1"
BETA = None
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
4 changes: 2 additions & 2 deletions app/lol/connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ async def __initSessions(self):
if not self.server:
return

if self.server.lower() in ('hn1', 'hn10'):
if self.server.lower() in ('hn1', 'hn10', 'bgp2'):
url = f'https://{self.server.lower()}-k8s-sgp.lol.qq.com:21019'
else:
url = f'https://{self.server.lower()}-sgp.lol.qq.com:21019'
Expand Down Expand Up @@ -333,7 +333,7 @@ async def __initManager(self):
def __initPlatformInfo(self):
if self.server:
mainlandPlatforms = {'tj100', 'hn1', 'cq100',
'gz100', 'nj100', 'hn10', 'tj101'}
'gz100', 'nj100', 'hn10', 'tj101', 'bgp2'}

self.inMainLand = self.server.lower() in mainlandPlatforms

Expand Down
Binary file modified app/resource/i18n/Seraphine.zh_CN.qm
Binary file not shown.
8 changes: 4 additions & 4 deletions app/resource/i18n/Seraphine.zh_CN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,7 @@ If champions set by lane are not available, default settings will be used.</sour
<message>
<location filename="../../view/career_interface.py" line="112"/>
<source>Copy summoner name to ClipBoard</source>
<translation>复制召唤师名</translation>
<translation>复制召唤师名及编号</translation>
</message>
<message>
<location filename="../../view/career_interface.py" line="81"/>
Expand Down Expand Up @@ -865,7 +865,7 @@ If champions set by lane are not available, default settings will be used.</sour
<message>
<location filename="../../view/auxiliary_interface.py" line="1149"/>
<source>Please input summoner&apos;s name</source>
<translation>请输入召唤师名</translation>
<translation>请输入召唤师名及编号</translation>
</message>
<message>
<location filename="../../view/auxiliary_interface.py" line="1176"/>
Expand Down Expand Up @@ -1935,7 +1935,7 @@ If champions set by lane are not available, default settings will be used.</sour
<message>
<location filename="../../view/search_interface.py" line="1030"/>
<source>Please input summoner name</source>
<translation>请输入同大区召唤师名</translation>
<translation>请输入同大区召唤师名及编号</translation>
</message>
<message>
<location filename="../../view/search_interface.py" line="1037"/>
Expand Down Expand Up @@ -2361,7 +2361,7 @@ when they are used by Seraphine, which will cost more time</source>
<message>
<location filename="../../view/auxiliary_interface.py" line="810"/>
<source>Summoners&apos;s name you want to spectate:</source>
<translation>你想观战的同大区召唤师名:</translation>
<translation>你想观战的同大区召唤师名及编号:</translation>
</message>
<message>
<location filename="../../view/auxiliary_interface.py" line="841"/>
Expand Down
4 changes: 2 additions & 2 deletions app/view/main_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
SERVERS_SUBSET)
from app.lol.aram import AramBuff
from app.lol.champions import ChampionAlias
from app.lol.opgg import opgg
# from app.lol.opgg import opgg

import threading

Expand Down Expand Up @@ -710,7 +710,7 @@ async def closeEvent(self, a0) -> None:

if not cfg.get(cfg.enableCloseToTray) or self.isTrayExit:
self.__terminateListeners()
await opgg.close()
# await opgg.close()

return super().closeEvent(a0)
else:
Expand Down

0 comments on commit 74ab905

Please sign in to comment.