Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
PencilMario committed Feb 25, 2024
1 parent 2e9ecb3 commit 08ccd2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TrayIcon.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,10 @@ def __init__(self):
if not self.legod.check_exsit():
if not self.legod.check_stop_status():
msg = self.legod.pause()
self.taskbar_msg("自动暂停工具运行成功",'游戏列表:%s'%",".join(self.legod.applist).join((" | 自动暂停:[{}]".format(msg)) if msg else ""))
self.taskbar_msg("自动暂停工具运行成功","游戏列表:{} {}".format(
str(self.legod.applist),
"" if not msg else "| 自动暂停[{}]".format(msg)
))

def check_already_running(self) -> bool:
''' 检查是否已经运行
Expand Down

0 comments on commit 08ccd2a

Please sign in to comment.