diff --git a/.github/actions/macos-install.sh b/.github/actions/macos-install.sh index cba08b8e..639bf14b 100755 --- a/.github/actions/macos-install.sh +++ b/.github/actions/macos-install.sh @@ -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`