改一下菜单栏
This commit is contained in:
parent
89aa00ebf5
commit
76d3710963
|
@ -1,2 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
python3 -m pip install --upgrade ttkthemes
|
python3 -m pip install --upgrade ttkthemes
|
||||||
|
python3 -m pip install --upgrade pyautogui
|
||||||
|
python3 -m pip install --upgrade keyboard
|
||||||
|
|
Binary file not shown.
8
main.py
8
main.py
|
@ -873,10 +873,10 @@ programmenu = tk.Menu(menu, tearoff=0, background="white") # 设置“程序”
|
||||||
uengine = tk.Menu(menu, tearoff=0, background="white")
|
uengine = tk.Menu(menu, tearoff=0, background="white")
|
||||||
help = tk.Menu(menu, tearoff=0, background="white") # 设置“帮助”菜单栏
|
help = tk.Menu(menu, tearoff=0, background="white") # 设置“帮助”菜单栏
|
||||||
|
|
||||||
uengineService = tk.Menu(uengine)
|
uengineService = tk.Menu(uengine, tearoff=0, background="white")
|
||||||
uengineInternet = tk.Menu(uengine)
|
uengineInternet = tk.Menu(uengine, tearoff=0, background="white")
|
||||||
uengineIcon = tk.Menu(uengine)
|
uengineIcon = tk.Menu(uengine, tearoff=0, background="white")
|
||||||
uengineData = tk.Menu(uengine)
|
uengineData = tk.Menu(uengine, tearoff=0, background="white")
|
||||||
|
|
||||||
menu.add_cascade(label="程序", menu=programmenu)
|
menu.add_cascade(label="程序", menu=programmenu)
|
||||||
menu.add_cascade(label="uengine", menu=uengine)
|
menu.add_cascade(label="uengine", menu=uengine)
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# 使用 pip 安装所需库
|
# 使用 pip 安装所需库
|
||||||
python3 -m pip install --upgrade ttkthemes
|
python3 -m pip install --upgrade ttkthemes
|
||||||
|
python3 -m pip install --upgrade pyautogui
|
||||||
|
python3 -m pip install --upgrade keyboard
|
||||||
# 建立软链接
|
# 建立软链接
|
||||||
ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner /usr/bin/uengine-runner
|
ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-runner /usr/bin/uengine-runner
|
||||||
ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-apk-builder /usr/bin/uengine-apk-builder
|
ln -s /opt/apps/com.gitee.uengine.runner.spark/files/uengine-apk-builder /usr/bin/uengine-apk-builder
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue