添加PyInstaller打包配置及清理脚本

添加translate.ico图标文件
更新.gitignore忽略.spec文件
修改main.py导入路径为main_window_final
优化translator.py的错误处理
添加pyinstaller-one技能目录及文档
更新main.spec配置排除不必要的依赖
添加verify_features.py功能验证脚本
This commit is contained in:
2026-01-16 16:37:07 +08:00
parent de670dc1b9
commit 8a5450eeae
9 changed files with 188 additions and 50 deletions

7
.gitignore vendored
View File

@@ -4,9 +4,13 @@ env/
*.venv/
*.env/
# Python编译文件
*.pyc
*.spec
__pycache__/
build/
dist/
# 日志文件
logs/
@@ -18,6 +22,7 @@ logs/
*.swp
*.swo
*~
*.spec
# 操作系统文件
.DS_Store
@@ -30,4 +35,4 @@ models/*.gguf
test*
# 自己
.gitignore
.gitignore