--universal2

This commit is contained in:
Jay Lee
2021-05-11 14:39:25 -04:00
parent a7043a1359
commit 01fec79d78

View File

@ -1,12 +1,12 @@
echo "MacOS Version Info According to Python:" echo "MacOS Version Info According to Python:"
python -c "import platform; print(platform.mac_ver())" python -c "import platform; print(platform.mac_ver())"
echo "Xcode versionn:" echo "Xcode version:"
xcodebuild -version xcodebuild -version
export distpath="dist/" export distpath="dist"
export gampath="${distpath}/gam" export gampath="${distpath}/gam"
rm -rf $gampath rm -rf $gampath
export specfile="gam.spec" export specfile="gam.spec"
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${distpath}" "${specfile}" $python -OO -m PyInstaller --clean --noupx --strip --distpath "${distpath}" --universal2 "${specfile}"
export gam="${gampath}/gam" export gam="${gampath}/gam"
$gam version extended $gam version extended
export GAMVERSION=`$gam version simple` export GAMVERSION=`$gam version simple`