Skip to content

Commit

Permalink
更新版本号至 v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zzaphkiel committed Nov 20, 2024
1 parent 0c895b1 commit b281964
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/common/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ class Config(QConfig):

YEAR = 2023
AUTHOR = "Zzaphkiel"
VERSION = "1.0.0"
BETA = "1.0.1-beta4"
VERSION = "1.1.0"
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: 4 additions & 0 deletions app/lol/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1397,7 +1397,9 @@ async def autoSwap(data, selection: ChampionSelection):

for pickOrderSwap in data['pickOrderSwaps']:
if 'RECEIVED' == pickOrderSwap['state']:
await asyncio.sleep(0.5)
await connector.acceptSwap(pickOrderSwap['id'])

selection.isChampionPickedCompleted = False
return True

Expand All @@ -1411,7 +1413,9 @@ async def autoTrade(data, selection):

for trade in data['trades']:
if 'RECEIVED' == trade['state']:
await asyncio.sleep(0.5)
await connector.acceptTrade(trade['id'])

return True

return False
Expand Down
2 changes: 1 addition & 1 deletion make.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
输出的目标路径。默认为当前目录。
.PARAMETER dbg
是否启用调试模式。如果启用,将不会删除 `.\dist` 目录,也不会创建 zip 文件。
是否启用调试模式。如果启用,将不会删除 `.\dist` 目录,也不会创建 7z 文件。
.EXAMPLE
.\make.ps1 -dbg
Expand Down

0 comments on commit b281964

Please sign in to comment.