fix distpath

This commit is contained in:
Jay Lee
2021-05-10 08:53:19 -04:00
parent c48b135c43
commit 2089589d34
3 changed files with 12 additions and 9 deletions

View File

@@ -4,12 +4,13 @@ elif [[ "$PLATFORM" == "x86" ]]; then
export WIX_BITS="x86"
fi
echo "compiling GAM with pyinstaller..."
export gampath="dist"
export distpath="dist/"
export gampath="${distpath}/gam"
rm -rf $gampath
mkdir -p $gampath
export gampath=$(readlink -e $gampath)
pyinstaller --clean --noupx -F --distpath $gampath gam.spec
export gam="${gampath}/gam/gam"
pyinstaller --clean --noupx -F --distpath $distpath gam.spec
export gam="${gampath}/gam"
echo "running compiled GAM..."
$gam version
export GAMVERSION=$($gam version simple)