fix dist paths

This commit is contained in:
Jay Lee
2021-05-07 10:55:42 -04:00
parent 0357774ba6
commit 89e964163e
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
export gampath="dist/gam"
export gampath="dist"
rm -rf $gampath
mkdir -p $gampath
export gampath=$(readlink -e $gampath)

View File

@@ -2,7 +2,7 @@ echo "MacOS Version Info According to Python:"
python -c "import platform; print(platform.mac_ver())"
echo "Xcode versionn:"
xcodebuild -version
export gampath=dist/gam
export gampath=dist
rm -rf $gampath
export specfile="gam.spec"
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${gampath}" "${specfile}"

View File

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