mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-10 22:53:34 +00:00
actions take 127
This commit is contained in:
@ -2,12 +2,10 @@ if [[ "$PLATFORM" == "x86_64" ]]; then
|
|||||||
export BITS="64"
|
export BITS="64"
|
||||||
export PYTHONFILE_BITS="-amd64"
|
export PYTHONFILE_BITS="-amd64"
|
||||||
export OPENSSL_BITS="-x64"
|
export OPENSSL_BITS="-x64"
|
||||||
export WIX_BITS="x64"
|
|
||||||
elif [[ "$PLATFORM" == "x86" ]]; then
|
elif [[ "$PLATFORM" == "x86" ]]; then
|
||||||
export BITS="32"
|
export BITS="32"
|
||||||
export PYTHONFILE_BITS=""
|
export PYTHONFILE_BITS=""
|
||||||
export OPENSSL_BITS=""
|
export OPENSSL_BITS=""
|
||||||
export WIX_BITS="x86"
|
|
||||||
export CHOCOPTIONS="--forcex86"
|
export CHOCOPTIONS="--forcex86"
|
||||||
fi
|
fi
|
||||||
echo "This is a ${BITS}-bit build for ${PLATFORM}"
|
echo "This is a ${BITS}-bit build for ${PLATFORM}"
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
if [[ "$PLATFORM" == "x86_64" ]]; then
|
||||||
|
export WIX_BITS="x64"
|
||||||
|
elif [[ "$PLATFORM" == "x86" ]]; then
|
||||||
|
export WIX_BITS="x86"
|
||||||
|
fi
|
||||||
echo "compiling GAM with pyinstaller..."
|
echo "compiling GAM with pyinstaller..."
|
||||||
export gampath="dist/gam"
|
export gampath="dist/gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
@ -7,7 +12,7 @@ pyinstaller --clean --noupx -F --distpath $gampath gam.spec
|
|||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
echo "running compiled GAM..."
|
echo "running compiled GAM..."
|
||||||
$gam version
|
$gam version
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=$($gam version simple)
|
||||||
rm $gampath/lastupdatecheck.txt
|
rm $gampath/lastupdatecheck.txt
|
||||||
cp LICENSE $gampath
|
cp LICENSE $gampath
|
||||||
cp GamCommands.txt $gampath
|
cp GamCommands.txt $gampath
|
||||||
|
Reference in New Issue
Block a user