Skip to content

Commit

Permalink
Merge pull request #22 from daniilS/pyinstaller-automation
Browse files Browse the repository at this point in the history
Create script to automatically build .dmg installer
  • Loading branch information
daniilS authored Sep 3, 2024
2 parents ccab14e + 5550720 commit e32eff4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyinstaller/build_dmg
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
#!/bin/sh

if ! [ -f venv/bin/activate ]; then
python3 -m venv venv
fi
source venv/bin/activate

pip install --upgrade pip
pip install --upgrade --upgrade-strategy=eager pyinstaller dmgbuild ..
pyinstaller --noconfirm Musketeer.spec
dmgbuild -s dmgbuild_settings.py Musketeer dist/Musketeer-0.0.0-macOS.dmg

deactivate

0 comments on commit e32eff4

Please sign in to comment.