http-samc / cut-it

Over 400 cross-platform downloads 🥳🎈 Cut-It, the next generation card cutter
https://cutit.cards
GNU Affero General Public License v3.0
7 stars 0 forks source link

PyInstaller Build Command #38

Open http-samc opened 3 years ago

http-samc commented 3 years ago

This should be crossplatform, here's the current build setup for @Release

pyinstaller --noconfirm --onedir --windowed --icon "C:/Programming/OffTime/cut-it/images/cut-it.ico" --add-data "C:/Programming/OffTime/cut-it/images;images/" --add-data "C:/Programming/OffTime/cut-it/env/Lib/site-packages/qtmodern;qtmodern/" --add-data "C:/Programming/OffTime/cut-it/bypass.crx;." --hidden-import "webdriver_manager" --paths "C:/Programming/OffTime/cut-it/env/Lib/site-packages" --collect-submodules "webdriver_manager" "C:/Programming/OffTime/cut-it/Cut-It/app.py"

http-samc commented 3 years ago

It was not crossplatform, here's the OSX build setup for building @Release

pyinstaller --noconfirm --onedir --windowed --icon "/Users/m1/Documents/GitHub/cut-it/images/cut-it.ico" --name "Cut-It" --osx-bundle-identifier "cards.cutit.www" --add-data "/Users/m1/Documents/GitHub/cut-it/images:images/" --paths "/Users/m1/Documents/GitHub/cut-it/env/lib/python3.9/site-packages" --hidden-import "webdriver_manager" --add-data "/Users/m1/Documents/GitHub/cut-it/bypass.crx:." --collect-submodules "webdriver_manager" --add-data "/Users/m1/Documents/GitHub/cut-it/env/lib/python3.9/site-packages/qtmodern:qtmodern/" "/Users/m1/Documents/GitHub/cut-it/Cut-It/app.py"