mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 14:13: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 distpath="dist/"
|
||||||
export gampath="${distpath}"
|
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)
|
||||||
$pip install wheel
|
$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 gam="${gampath}/gam"
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
cp LICENSE $gampath
|
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:"
|
echo "Xcode version:"
|
||||||
xcodebuild -version
|
xcodebuild -version
|
||||||
export distpath="dist/"
|
export distpath="dist/"
|
||||||
export gampath="${distpath}"
|
export gampath="${distpath}gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
export specfile="gam.spec"
|
export specfile="gam.spec"
|
||||||
if [ "$macver" == "10.15.7" ]; then
|
if [ "$macver" == "10.15.7" ]; then
|
||||||
@ -12,7 +12,7 @@ if [ "$macver" == "10.15.7" ]; then
|
|||||||
else
|
else
|
||||||
youtoo=""
|
youtoo=""
|
||||||
fi
|
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"
|
export gam="${gampath}/gam"
|
||||||
$gam version extended
|
$gam version extended
|
||||||
export GAMVERSION=`$gam version simple`
|
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
|
fi
|
||||||
echo "compiling GAM with pyinstaller..."
|
echo "compiling GAM with pyinstaller..."
|
||||||
export distpath="dist/"
|
export distpath="dist/"
|
||||||
export gampath="${distpath}"
|
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 --distpath $distpath gam.spec
|
pyinstaller --clean --noupx --distpath $gampath gam.spec
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
echo "running compiled GAM..."
|
echo "running compiled GAM..."
|
||||||
$gam version
|
$gam version
|
||||||
|
Reference in New Issue
Block a user