Update macos-install.sh

This commit is contained in:
Jay Lee
2021-06-02 13:49:34 -04:00
committed by GitHub
parent 5849ed3ecc
commit 137e79b012

View File

@ -7,12 +7,7 @@ export distpath="dist/"
export gampath="${distpath}gam"
rm -rf $gampath
export specfile="gam.spec"
if [ "$macver" == "10.15.7" ]; then
youtoo=""
else
youtoo=""
fi
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${gampath}" $youtoo "${specfile}"
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${gampath}" --target_arch=$PLATFORM "${specfile}"
export gam="${gampath}/gam"
$gam version extended
export GAMVERSION=`$gam version simple`