采集卡bug修复
This commit is contained in:
19
launcher.py
19
launcher.py
@@ -22,7 +22,7 @@ def create_launcher():
|
||||
"""创建启动器界面"""
|
||||
root = tk.Tk()
|
||||
root.title("火炬之光自动化 - 启动器")
|
||||
root.geometry("400x300")
|
||||
root.geometry("400x380")
|
||||
root.resizable(False, False)
|
||||
|
||||
# 标题
|
||||
@@ -49,10 +49,21 @@ def create_launcher():
|
||||
preview_btn.pack(pady=10)
|
||||
|
||||
# 主程序按钮
|
||||
main_btn = tk.Button(button_frame, text="🚀 启动自动化",
|
||||
main_btn = tk.Button(button_frame, text="🚀 启动单个配置组",
|
||||
command=start_main_program,
|
||||
width=30, height=3, font=('Arial', 12))
|
||||
main_btn.pack(pady=10)
|
||||
width=30, height=2, font=('Arial', 11))
|
||||
main_btn.pack(pady=5)
|
||||
|
||||
def start_multi_program():
|
||||
"""启动多配置组程序"""
|
||||
subprocess.Popen([sys.executable, "main_multi.py"],
|
||||
creationflags=subprocess.CREATE_NEW_CONSOLE if sys.platform == 'win32' else 0)
|
||||
|
||||
# 多配置组启动按钮
|
||||
multi_btn = tk.Button(button_frame, text="🔥 启动多个配置组",
|
||||
command=start_multi_program,
|
||||
width=30, height=2, font=('Arial', 11))
|
||||
multi_btn.pack(pady=5)
|
||||
|
||||
# 说明
|
||||
info_label = tk.Label(root,
|
||||
|
||||
Reference in New Issue
Block a user