fix gam binary paths

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

View File

@@ -3,7 +3,7 @@ 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"
export gam="${gampath}/gam/gam"
export GAMVERSION=`$gam version simple`
cp LICENSE $gampath
cp GamCommands.txt $gampath

View File

@@ -6,7 +6,7 @@ export gampath=dist
rm -rf $gampath
export specfile="gam.spec"
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${gampath}" "${specfile}"
export gam="${gampath}/gam"
export gam="${gampath}/gam/gam"
$gam version extended
export GAMVERSION=`$gam version simple`
cp LICENSE "${gampath}"

View File

@@ -9,7 +9,7 @@ rm -rf $gampath
mkdir -p $gampath
export gampath=$(readlink -e $gampath)
pyinstaller --clean --noupx -F --distpath $gampath gam.spec
export gam="${gampath}/gam"
export gam="${gampath}/gam/gam"
echo "running compiled GAM..."
$gam version
export GAMVERSION=$($gam version simple)