Skip to content

Commit cc586af

Browse files
committed
ledmatrix_control: Add res folder to pyinstaller
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 55179a9 commit cc586af

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/software.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ jobs:
7676
name: inputmodule-control.exe
7777
path: target/x86_64-pc-windows-msvc/release/inputmodule-control.exe
7878

79+
# Or manually with
80+
# pyinstaller --onefile --windowed --add-data 'res;res' ledmatrix_control.py
7981
build-gui:
8082
name: Build GUI
8183
runs-on: windows-latest
@@ -90,7 +92,7 @@ jobs:
9092
spec: ledmatrix_control.py #'src/build.spec'
9193
requirements: 'requirements.txt'
9294
upload_exe_with_name: 'ledmatrix_control.py'
93-
options: --onefile, --name "ledmatrix_control", --windowed,
95+
options: --onefile, --windowed, --add-data 'res;res'
9496

9597
lints:
9698
name: Lints

0 commit comments

Comments
 (0)