基本完成1.6.0

This commit is contained in:
gfdgd xi 2022-07-10 07:54:09 +08:00
parent 3aa23d1635
commit 6702a51693
2 changed files with 6 additions and 2 deletions

View File

@ -48,7 +48,7 @@ def OpenGithubIssues():
def OpenGitlinkIssues():
webbrowser.open_new_tab("https://www.gitlink.org.cn/gfdgd_xi/deep-wine-runner/issues")
# 获取用户主目录
def get_home()->"获取用户主目录":
return os.path.expanduser('~')
@ -100,7 +100,7 @@ otherUpload = ttk.Frame(win)
tips = ttk.Label(otherUpload, text="如果无法正常反馈,可以用其他方式反馈:")
giteeButton = ttk.Button(otherUpload, text="Gitee Issues", command=OpenGiteeIssues)
githubButton = ttk.Button(otherUpload, text="Github Issues", command=OpenGithubIssues)
gitlinkButton = ttk.Button(otherUpload, text="Github Issues", command=OpenGitlinkIssues)
gitlinkButton = ttk.Button(otherUpload, text="Gitlink Issues", command=OpenGitlinkIssues)
updateButton = ttk.Button(win, text="提交", command=UpdateButtonClick)

View File

@ -463,6 +463,9 @@ def ThankWindow():
def InstallWineFont():
threading.Thread(target=os.system, args=[f"'{programPath}/launch.sh' deepin-terminal -C 'echo 这些字体来自星火应用商店 && sudo ss-apt-fast install ms-core-fonts winfonts -y' --keep-open"]).start()
def WineRunnerBugUpload():
threading.Thread(target=os.system, args=[programPath + "/deepin-wine-runner-update-bug"]).start()
class UpdateWindow():
data = {}
def ShowWindow():
@ -952,6 +955,7 @@ help.add_command(label="更新内容", command=UpdateThings) # 设置“更新
help.add_command(label="谢明名单", command=ThankWindow)
help.add_separator()
help.add_command(label="更新这个程序", command=UpdateWindow.ShowWindow)
help.add_command(label="反馈这个程序的建议和问题", command=WineRunnerBugUpload)
help.add_command(label="关于这个程序", command=about_this_program) # 设置“关于这个程序”项
help.add_separator()
moreProgram = tk.Menu(menu, tearoff=0, background="white")