Fix issues with relative paths when scripts are packaged into binaries.

This commit is contained in:
2024-11-15 15:47:59 -07:00
parent 1219c2f974
commit 19615a8b34
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ build-cli:
source venv/bin/activate && pyinstaller --onefile --icon=wrenchIcon.ico solderPacker.py
build-gui:
source venv/bin/activate && pyinstaller --windowed --onefile --icon=wrenchIcon.ico solderPackerGUI.py
source venv/bin/activate && pyinstaller --windowed --onefile --icon=wrenchIcon.ico --add-data="wrenchIcon.ico:." solderPackerGUI.py
clean:
- rm -r venv