Skip to content

Commit b5b8739

Browse files
committed
python: Add executable icon
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 13d3d02 commit b5b8739

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/software.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,15 +112,15 @@ jobs:
112112
Invoke-WebRequest -Uri https://github.com/FrameworkComputer/inputmodule-rs/releases/download/v0.2.0/ledmatrix.uf2 -OutFile releases\0.2.0\ledmatrix.uf2
113113
114114
# To run locally, need to make sure to include the pywin32 DLL
115-
# pyinstaller --onefile, --name "python/inputmodule/cli.py", --windowed, --add-data "releases;releases" --path C:\users\skype\appdata\local\packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\localcache\local-packages\Python312\site-packages\pywin32_system32 --add-data 'res;res' -p python/inputmodule python/inputmodule/cli.py
115+
# pyinstaller --onefile, --name "python/inputmodule/cli.py", --windowed, --add-data "releases;releases" --icon=res\framework_startmenuicon.ico --path C:\users\skype\appdata\local\packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\localcache\local-packages\Python312\site-packages\pywin32_system32 --add-data 'res;res' -p python/inputmodule python/inputmodule/cli.py
116116
- name: Create Executable
117117
uses: JohnAZoidberg/pyinstaller-action@dont-clean
118118
with:
119119
python_ver: '3.12'
120120
spec: python/inputmodule/cli.py #'src/build.spec'
121121
requirements: 'python/requirements.txt'
122122
upload_exe_with_name: 'ledmatrixgui.exe'
123-
options: --onefile, --name "ledmatrixgui", --windowed, --add-data "releases;releases" --add-data 'res;res' -p python/inputmodule
123+
options: --onefile, --name "ledmatrixgui", --windowed, --add-data "releases;releases" --icon=res/framework_startmenuicon.ico --add-data 'res;res' -p python/inputmodule
124124

125125
package-python:
126126
name: Package Python

0 commit comments

Comments
 (0)