mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 06:03:35 +00:00
fix archive path
This commit is contained in:
4
.github/actions/linux-install.sh
vendored
4
.github/actions/linux-install.sh
vendored
@ -1,10 +1,10 @@
|
||||
export distpath="dist/"
|
||||
export gampath="${distpath}"
|
||||
export gampath="${distpath}gam"
|
||||
rm -rf $gampath
|
||||
#mkdir -p $gampath
|
||||
#export gampath=$(readlink -e $gampath)
|
||||
$pip install wheel
|
||||
$python -OO -m PyInstaller --clean --noupx --strip --distpath $distpath gam.spec
|
||||
$python -OO -m PyInstaller --clean --noupx --strip --distpath $gampath gam.spec
|
||||
export gam="${gampath}/gam"
|
||||
export GAMVERSION=`$gam version simple`
|
||||
cp LICENSE $gampath
|
||||
|
4
.github/actions/macos-install.sh
vendored
4
.github/actions/macos-install.sh
vendored
@ -4,7 +4,7 @@ echo $macver
|
||||
echo "Xcode version:"
|
||||
xcodebuild -version
|
||||
export distpath="dist/"
|
||||
export gampath="${distpath}"
|
||||
export gampath="${distpath}gam"
|
||||
rm -rf $gampath
|
||||
export specfile="gam.spec"
|
||||
if [ "$macver" == "10.15.7" ]; then
|
||||
@ -12,7 +12,7 @@ if [ "$macver" == "10.15.7" ]; then
|
||||
else
|
||||
youtoo=""
|
||||
fi
|
||||
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${distpath}" $youtoo "${specfile}"
|
||||
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${gampath}" $youtoo "${specfile}"
|
||||
export gam="${gampath}/gam"
|
||||
$gam version extended
|
||||
export GAMVERSION=`$gam version simple`
|
||||
|
4
.github/actions/windows-install.sh
vendored
4
.github/actions/windows-install.sh
vendored
@ -5,11 +5,11 @@ elif [[ "$PLATFORM" == "x86" ]]; then
|
||||
fi
|
||||
echo "compiling GAM with pyinstaller..."
|
||||
export distpath="dist/"
|
||||
export gampath="${distpath}"
|
||||
export gampath="${distpath}gam"
|
||||
rm -rf $gampath
|
||||
#mkdir -p $gampath
|
||||
#export gampath=$(readlink -e $gampath)
|
||||
pyinstaller --clean --noupx --distpath $distpath gam.spec
|
||||
pyinstaller --clean --noupx --distpath $gampath gam.spec
|
||||
export gam="${gampath}/gam"
|
||||
echo "running compiled GAM..."
|
||||
$gam version
|
||||
|
Reference in New Issue
Block a user