File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,16 +155,16 @@ jobs:
155155 if : startsWith(github.ref, 'refs/tags/') && matrix.enable_gui == true
156156 run : |
157157 if [ "${{ matrix.goos }}" == "windows" ]; then
158- pyinstaller --onefile --windowed --name ECHWorkersGUI gui.py
158+ pyinstaller --onefile --windowed --name ECHWorkersGUI --hidden-import=PyQt5 gui.py
159159 elif [ "${{ matrix.goos }}" == "linux" ]; then
160160 if python -c "import PyQt5.QtWidgets" 2>/dev/null; then
161- pyinstaller --onefile --name ECHWorkersGUI gui.py
161+ pyinstaller --onefile --name ECHWorkersGUI --hidden-import=PyQt5 gui.py
162162 else
163163 echo "PyQt5 not available, skipping GUI build for Linux"
164164 echo "Only Go executable will be included"
165165 fi
166166 else
167- pyinstaller --onefile --name ECHWorkersGUI gui.py
167+ pyinstaller --onefile --name ECHWorkersGUI --hidden-import=PyQt5 gui.py
168168 fi
169169 shell : bash
170170
You can’t perform that action at this time.
0 commit comments