Skip to content

Conversation

@YuHan1015
Copy link
Contributor

根本原因:PyInstaller打包后程序无法正确找到语言文件路径

以后只能用这个命令打包了而已 :(

pyinstaller --onefile --windowed --add-data "languages;languages" --add-data "config;config" --add-data "augment_tools_core;augment_tools_core" --add-data "gui_qt6;gui_qt6" --hidden-import "PyQt6" --hidden-import "PyQt6.QtWidgets" --hidden-import "PyQt6.QtCore" --hidden-import "PyQt6.QtGui" --name "AugmentCode-Free-v2.0.1" main.py

Mac不会 不过好像 BUILD_INSTRUCTIONS.md 里面的已经适用了

根本原因:PyInstaller打包后程序无法正确找到语言文件路径
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.

1 participant