diff --git a/.github/actions/linux-install.sh b/.github/actions/linux-install.sh index df99f913..6a344fba 100755 --- a/.github/actions/linux-install.sh +++ b/.github/actions/linux-install.sh @@ -1,10 +1,10 @@ export distpath="dist/" -export gampath="${distpath}" +export gampath="${distpath}gam" rm -rf $gampath #mkdir -p $gampath #export gampath=$(readlink -e $gampath) $pip install wheel -$python -OO -m PyInstaller --clean --noupx --strip --distpath $distpath gam.spec +$python -OO -m PyInstaller --clean --noupx --strip --distpath $gampath gam.spec export gam="${gampath}/gam" export GAMVERSION=`$gam version simple` cp LICENSE $gampath diff --git a/.github/actions/macos-install.sh b/.github/actions/macos-install.sh index 3e7e7d32..cba08b8e 100755 --- a/.github/actions/macos-install.sh +++ b/.github/actions/macos-install.sh @@ -4,7 +4,7 @@ echo $macver echo "Xcode version:" xcodebuild -version export distpath="dist/" -export gampath="${distpath}" +export gampath="${distpath}gam" rm -rf $gampath export specfile="gam.spec" if [ "$macver" == "10.15.7" ]; then @@ -12,7 +12,7 @@ if [ "$macver" == "10.15.7" ]; then else youtoo="" fi -$python -OO -m PyInstaller --clean --noupx --strip --distpath "${distpath}" $youtoo "${specfile}" +$python -OO -m PyInstaller --clean --noupx --strip --distpath "${gampath}" $youtoo "${specfile}" export gam="${gampath}/gam" $gam version extended export GAMVERSION=`$gam version simple` diff --git a/.github/actions/windows-install.sh b/.github/actions/windows-install.sh index b0daacb2..ec20552c 100755 --- a/.github/actions/windows-install.sh +++ b/.github/actions/windows-install.sh @@ -5,11 +5,11 @@ elif [[ "$PLATFORM" == "x86" ]]; then fi echo "compiling GAM with pyinstaller..." export distpath="dist/" -export gampath="${distpath}" +export gampath="${distpath}gam" rm -rf $gampath #mkdir -p $gampath #export gampath=$(readlink -e $gampath) -pyinstaller --clean --noupx --distpath $distpath gam.spec +pyinstaller --clean --noupx --distpath $gampath gam.spec export gam="${gampath}/gam" echo "running compiled GAM..." $gam version