mirror of
https://gitee.com/gfdgd-xi/deep-wine-runner
synced 2025-01-13 01:58:27 +08:00
基本完成1.6.0
This commit is contained in:
parent
3aa23d1635
commit
6702a51693
@ -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)
|
||||
|
||||
|
4
main.py
4
main.py
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user