mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 18:01:36 +00:00
19 lines
729 B
Bash
Executable File
19 lines
729 B
Bash
Executable File
cd src
|
|
pyinstaller --clean --noupx -F --distpath=gam $GAMOS-gam.spec
|
|
export gam="gam/gam"
|
|
export gampath=$(readlink -e gam)
|
|
$gam version extended
|
|
export GAMVERSION=`$gam version simple`
|
|
rm gam/lastupdatecheck.txt
|
|
cp LICENSE gam
|
|
cp GamCommands.txt gam
|
|
cp whatsnew.txt gam
|
|
cp gam-setup.bat gam
|
|
GAM_ARCHIVE=gam-$GAMVERSION-$GAMOS-$PLATFORM.zip
|
|
/c/Program\ Files/7-Zip/7z.exe a -tzip $GAM_ARCHIVE gam -xr!.svn
|
|
mkdir gam-64
|
|
cp -rf gam/* gam-64/;
|
|
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/candle.exe -arch x86 gam.wxs
|
|
/c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/light.exe -ext /c/Program\ Files\ \(x86\)/WiX\ Toolset\ v3.11/bin/WixUIExtension.dll gam.wixobj -o gam-$GAMVERSION-$GAMOS-$PLATFORM.msi || true;
|
|
rm *.wixpdb
|