Skip to content

重构:GUI 替代 CLI,双 exe 分离,零黑框#18

Open
strdream0 wants to merge 2 commits into
piratf:mainfrom
strdream0:main
Open

重构:GUI 替代 CLI,双 exe 分离,零黑框#18
strdream0 wants to merge 2 commits into
piratf:mainfrom
strdream0:main

Conversation

@strdream0

Copy link
Copy Markdown

改动

  • 命令行交互模式替换为 tkinter 图形界面(中文、原生 Windows 主题)
  • PyInstaller console=False,彻底消除终端黑框
  • 拆分为 两个 exe:主程序 + 轻量右键菜单,右键菜单不再依赖主程序运行
  • 右键菜单注册优先使用独立 context exe,启动更快
  • 清理无用文件:docs/、VitePress、空模块、C 残留

测试

  • 打包:uv run python -m scripts.build(含 UPX 压缩)
  • 右键菜单本地测试通过

注意事项

  • 新增运行时依赖 packaging(写入 pyproject.toml)
  • 新增开发依赖 uv(可选,仍兼容 pip)
  • 两个 exe 需同目录分发

piratf added 2 commits May 12, 2026 15:44
- 交互模式替换为 tkinter 主 GUI 窗口(中文界面,vista 原生主题)
- PyInstaller console=False,彻底消除终端黑框
- 拆分为两个 exe:主程序 + 轻量右键菜单(独立入口,更少 import)
- 右键菜单不再依赖主程序运行
- 清理:删除 docs/、VitePress 配置、空文件、C 版本残留
- 注册表优先使用 context exe,回退到主 exe --gui
@piratf

piratf commented May 31, 2026

Copy link
Copy Markdown
Owner

Hi 我看了你的变更。整体上我看到你做了一个单独的新产品体验,非常有意思。
但是这个 PR 对当前项目的文档进行了大面积的变更,所以我不能直接合入进来。
欢迎你 fork 我的仓库并继续更新和使用。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants