mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-06-28 02:32:02 +08:00
feat(core): 支持PyInstaller打包并优化资源路径
- 修改app.py以支持PyInstaller打包后的资源路径 - 更新session.py以支持APP_DATA_DIR环境变量 - 增强webui.py以设置打包后的数据目录 - 添加pyproject.toml的PyInstaller依赖组 - 新增构建脚本和GitHub Actions工作流
This commit is contained in:
@@ -22,7 +22,6 @@ dev = [
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
codex-register = "cli:main"
|
||||
codex-webui = "webui:main"
|
||||
|
||||
[build-system]
|
||||
@@ -31,3 +30,8 @@ build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src"]
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"pyinstaller>=6.19.0",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user