LogarithmPlotter/build-macosx.sh
Ad5001 7a70f50ab8
All checks were successful
continuous-integration/drone/push Build is passing
Fixing some bugs on MacOS related to building.
2021-08-16 19:50:54 +02:00

23 lines
852 B
Bash
Executable file

#!/usr/bin/env bash
rm $(find . -name "*.qmlc")
rm $(find . -name "*.pyc")
python3 -m pip install -U pyinstaller
pyinstaller --add-data "LogarithmPlotter/qml:qml" \
--add-data "LICENSE.md:." \
--add-data "mac/logarithmplotterfile.icns:." \
--add-data "README.md:." \
--exclude-module "FixTk" \
--exclude-module "tcl" \
--exclude-module "tk" \
--exclude-module "_tkinter" \
--exclude-module "tkinter" \
--exclude-module "Tkinter" \
--noconsole \
--noconfirm \
--icon=mac/logarithmplotter.icns \
--osx-bundle-identifier eu.ad5001.LogarithmPlotter \
-n LogarithmPlotter \
LogarithmPlotter/logarithmplotter.py
cp mac/Info.plist dist/LogarithmPlotter.app/Contents/Info.plist