Skip to content

Commit 9918636

Browse files
WF/PyInstaller: Fixed paths
1 parent 7afb855 commit 9918636

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
python -m pip install --upgrade pip
2020
pip install pyinstaller pyqt6 opencv-python
2121
- name: Build exe
22-
run: pyinstaller --onefile --windowed osl_visualizer/main.py
22+
run: pyinstaller --onefile --windowed osl_visualizer/main.py --add-data "osl_visualizer/ui;ui"
2323
- name: Upload artifact
2424
uses: actions/upload-artifact@v4
2525
with:
@@ -38,7 +38,7 @@ jobs:
3838
python -m pip install --upgrade pip
3939
pip install pyinstaller pyqt6 opencv-python
4040
- name: Build app
41-
run: pyinstaller --onefile --windowed main.py --add-data "ui:osl_visualizer/ui"
41+
run: pyinstaller --onefile --windowed osl_visualizer/main.py --add-data "osl_visualizer/ui:ui"
4242
- name: Upload artifact
4343
uses: actions/upload-artifact@v4
4444
with:
@@ -58,7 +58,7 @@ jobs:
5858
sudo apt-get install -y libgl1 libglib2.0-0
5959
pip install pyinstaller pyqt6 opencv-python
6060
- name: Build binary
61-
run: pyinstaller --onefile --windowed osl_visualizer/main.py
61+
run: pyinstaller --onefile --windowed osl_visualizer/main.py --add-data "osl_visualizer/ui:ui"
6262
- name: Upload artifact
6363
uses: actions/upload-artifact@v4
6464
with:

0 commit comments

Comments
 (0)