fix archive path

This commit is contained in:
Jay Lee
2021-05-26 10:53:06 -04:00
parent 4e719bab5e
commit a1392dbf86
3 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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`

View File

@ -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