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

@@ -1,9 +1,10 @@
export gampath="dist"
export distpath="dist/"
export gampath="${distpath}/gam"
rm -rf $gampath
mkdir -p $gampath
export gampath=$(readlink -e $gampath)
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $gampath gam.spec
export gam="${gampath}/gam/gam"
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
export gam="${gampath}/gam"
export GAMVERSION=`$gam version simple`
cp LICENSE $gampath
cp GamCommands.txt $gampath