Skip to content

Commit

Permalink
Fix --add-data flag of PyInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
secondfry committed Dec 2, 2023
1 parent 0b184a9 commit 747dba4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_mac_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ python -O -m PyInstaller \
--clean \
--windowed \
--icon resources/images/app_icon.icns \
--add-data 'src/database:.' \
--add-data 'src/database/*:.' \
--noconfirm \
--name shortcircuit src/main.py \
--noupx \
Expand Down
2 changes: 1 addition & 1 deletion build_win_installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ python -O -m PyInstaller ^
--clean ^
--windowed ^
--icon resources\images\app_icon.ico ^
--add-data "src\database;." ^
--add-data "src\database\*;database" ^
--noconfirm ^
--name shortcircuit src\main.py ^
--onefile ^
Expand Down

0 comments on commit 747dba4

Please sign in to comment.