优化版本号显示
This commit is contained in:
parent
5ee4c50314
commit
964088bab3
3 changed files with 9 additions and 9 deletions
|
@ -23,7 +23,7 @@ def splash_screen(queue: mp.Queue):
|
|||
title_font = Font(size=24)
|
||||
title_label = tk.Label(
|
||||
container,
|
||||
text="arknights-mower",
|
||||
text="mower-ng",
|
||||
font=title_font,
|
||||
)
|
||||
title_label.pack()
|
||||
|
@ -52,7 +52,7 @@ def splash_screen(queue: mp.Queue):
|
|||
from tkinter import messagebox
|
||||
|
||||
root.withdraw()
|
||||
messagebox.showerror("arknights-mower", msg["data"])
|
||||
messagebox.showerror("mower-ng", msg["data"])
|
||||
root.destroy()
|
||||
except Exception:
|
||||
pass
|
||||
|
@ -78,7 +78,7 @@ def start_tray(queue: mp.Queue, global_space, port, url):
|
|||
webbrowser.open(url)
|
||||
|
||||
icon = Icon(
|
||||
name="arknights-mower",
|
||||
name="mower-ng",
|
||||
icon=img,
|
||||
menu=Menu(
|
||||
MenuItem(
|
||||
|
@ -134,7 +134,7 @@ def webview_window(child_conn, global_space, host, port, url, tray):
|
|||
height = h
|
||||
|
||||
window = webview.create_window(
|
||||
f"arknights-mower {__version__} (http://{host}:{port})",
|
||||
f"mower-ng {__version__} (http://{host}:{port})",
|
||||
url,
|
||||
text_select=True,
|
||||
confirm_close=not tray,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue