diff --git a/main.py b/main.py new file mode 100644 index 0000000..8f64429 --- /dev/null +++ b/main.py @@ -0,0 +1,17 @@ +import tkinter as tk +from ui import create_main_menu + +def main(): + # 创建主窗口 + root = tk.Tk() + root.title("角色控制系统") + root.geometry("300x200") + + # 创建主菜单界面 + create_main_menu(root) + + # 运行主循环 + root.mainloop() + +if __name__ == "__main__": + main() \ No newline at end of file