From 137e79b01260340c981033d2492fdf889a90ddab Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 2 Jun 2021 13:49:34 -0400 Subject: [PATCH] Update macos-install.sh --- .github/actions/macos-install.sh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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`