This commit is contained in:
Jay Lee
2021-05-10 08:59:30 -04:00
parent 2089589d34
commit 251e2774aa
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
export distpath="dist/" export distpath="dist/"
export gampath="${distpath}/gam" export gampath="${distpath}/gam"
rm -rf $gampath rm -rf $gampath
mkdir -p $gampath #mkdir -p $gampath
export gampath=$(readlink -e $gampath) export gampath=$(readlink -e $gampath)
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec $python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
export gam="${gampath}/gam" export gam="${gampath}/gam"

View File

@@ -7,7 +7,7 @@ echo "compiling GAM with pyinstaller..."
export distpath="dist/" export distpath="dist/"
export gampath="${distpath}/gam" export gampath="${distpath}/gam"
rm -rf $gampath rm -rf $gampath
mkdir -p $gampath #mkdir -p $gampath
export gampath=$(readlink -e $gampath) export gampath=$(readlink -e $gampath)
pyinstaller --clean --noupx -F --distpath $distpath gam.spec pyinstaller --clean --noupx -F --distpath $distpath gam.spec
export gam="${gampath}/gam" export gam="${gampath}/gam"