mirror of
https://github.com/samschott/maestral.git
synced 2024-10-06 10:28:07 +03:00
23 lines
656 B
Bash
Executable File
23 lines
656 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SPEC_FILE=maestral_macos.spec
|
|
BUILD_NO=$(grep -E -o "[0-9]*" bundle_version_macos.txt)
|
|
|
|
echo "**** BUILD NUMBER $BUILD_NO ****************************"
|
|
|
|
python3 -m PyInstaller -y --clean -w $SPEC_FILE
|
|
|
|
echo "**** COPY ENTRY POINT **********************************"
|
|
|
|
cp bin/main dist/Maestral.app/Contents/MacOS/main
|
|
|
|
echo "**** REMOVING UNNEEDED MODULES *************************"
|
|
|
|
python3 post_build_macos.py
|
|
|
|
echo "**** SIGNING ******************************************"
|
|
|
|
codesign -s "Apple Development: sam.schott@outlook.com (FJNXBRUVWL)" --deep dist/Maestral.app
|
|
|
|
echo "**** DONE *********************************************"
|