aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/core
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-07-04 14:04:42 +0800
committerGitHub <noreply@github.com>2023-07-04 14:04:42 +0800
commit21ed3a5c88f236a165f9927cf29b8eae5de60da6 (patch)
treed16ce69a2bc6e6830f4bc43bde04e57b448aac94 /core
parent9cbb15c55824fb4a0fd16f9f25e6af2fe7ccd363 (diff)
downloadinfini-21ed3a5c88f236a165f9927cf29b8eae5de60da6.tar.gz
infini-21ed3a5c88f236a165f9927cf29b8eae5de60da6.zip
Rename main.py to main.py
Diffstat (limited to 'core')
-rw-r--r--core/main.py23
1 files changed, 0 insertions, 23 deletions
diff --git a/core/main.py b/core/main.py
deleted file mode 100644
index ba128384..00000000
--- a/core/main.py
+++ /dev/null
@@ -1,23 +0,0 @@
-import argparse
-from tkinter import messagebox
-
-def main():
- # 创建解析器对象
- parser = argparse.ArgumentParser(description='HydroRoll 命令行工具')
-
- # 添加命令行参数
- parser.add_argument('--gui', action='store_true', help='显示弹窗')
- parser.add_argument('--path', help='指定路径')
-
- # 解析命令行参数
- args = parser.parse_args()
-
- # 处理命令行参数
- if args.gui:
- messagebox.showinfo('提示', '这是一个弹窗!')
-
- if args.path:
- print('输入的路径:', args.path)
-
-if __name__ == '__main__':
- main()