Skip to content

Commit 2dacc87

Browse files
authored
Modify PyInstaller command to add data files
Updated PyInstaller command to include additional data files.
1 parent cb50b3e commit 2dacc87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- name: PyInstaller Windows
104104
run: |
105105
pip install pyinstaller
106-
pyinstaller --onefile --name UStoat --distpath dist --workpath build --specpath build main.pyw
106+
pyinstaller --onefile --name UStoat --add-data "res;res" --distpath dist --workpath build --specpath build main.pyw
107107
108108
- name: Upload Windows artifact
109109
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)