Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
版本更新: 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Stevesuk0 committed Dec 10, 2023
1 parent 5a3097d commit 41d5d32
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,21 @@ def exit():
print(f"最新版本:{Fore.GREEN}{response.text}{Fore.RESET}")
print(f"当前版本:{Fore.YELLOW}{version}{Fore.RESET}")

launch_mode = 0
shinput = easygui.choicebox(title="PLiveMSC Launch Menu", msg="选择一项进行启动", choices=["正常启动", "以 歌曲下载 模式启动", "以 配置修改 模式启动", "打开歌曲文件夹"], preselect=0)

if "ncmdl" in sys.argv:
if shinput == "正常启动":
launch_mode = 0
elif shinput == "以 歌曲下载 模式启动":
print("\n以" + Fore.GREEN + "歌曲下载" + Fore.RESET + "模式启动。")
launch_mode = 1
if "config" in sys.argv:
elif shinput == "以 配置修改 模式启动":
print("\n以" + Fore.GREEN + "配置模式" + Fore.RESET + "模式启动。")
launch_mode = 2
elif shinput == "打开歌曲文件夹":
os.system("start %CD%\\PLiveMSCdl\\")
exit()
else:
exit()

latest_user = ""
latest_message = ""
Expand Down

0 comments on commit 41d5d32

Please sign in to comment.