fix gampath on win/mac

This commit is contained in:
Jay Lee
2021-05-24 10:48:42 -04:00
parent 5f5875acc1
commit cdc04b0803
2 changed files with 3 additions and 3 deletions

View File

@@ -3,8 +3,8 @@ macver=$(python -c "import platform; print(platform.mac_ver()[0])")
echo $macver
echo "Xcode version:"
xcodebuild -version
export distpath="dist"
export gampath="${distpath}/gam"
export distpath="dist/"
export gampath="${distpath}"
rm -rf $gampath
export specfile="gam.spec"
if [ "$macver" == "10.15.7" ]; then

View File

@@ -5,7 +5,7 @@ elif [[ "$PLATFORM" == "x86" ]]; then
fi
echo "compiling GAM with pyinstaller..."
export distpath="dist/"
export gampath="${distpath}/gam"
export gampath="${distpath}"
rm -rf $gampath
#mkdir -p $gampath
#export gampath=$(readlink -e $gampath)