mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
fully automate the HX-DOS build script
This commit is contained in:
parent
bb543ca53f
commit
bd80d66282
@ -53,14 +53,23 @@ git pull
|
||||
git clean -dfx
|
||||
git reset --hard
|
||||
./build-mingw-hx-dos || exit 1
|
||||
|
||||
copydir="build-scripts/mingw/dosbox-x-mingw-hx-dos"
|
||||
hxdir="build-scripts/mingw/hxdos"
|
||||
|
||||
strip src/dosbox-x.exe || exit 1
|
||||
cp src/dosbox-x.exe dosbox-x.exe || exit 1
|
||||
cp CHANGELOG CHANGELOG.txt || exit 1
|
||||
cp src/dosbox-x.exe $copydir/dosbox-x.exe || exit 1
|
||||
$hxdir/pestub.exe -n $copydir/dosbox-x.exe
|
||||
cp CHANGELOG $copydir/CHANGELOG.txt || exit 1
|
||||
cp $hxdir/HDPMI32.EXE $copydir || exit 1
|
||||
cp $hxdir/HXGUIHLP.INI $copydir/ || exit 1
|
||||
cp $hxdir/README.TXT $copydir || exit 1
|
||||
cp $hxdir/*.DLL $copydir/ || exit 1
|
||||
|
||||
cd "$top" || exit 1
|
||||
echo "Packing up now..."
|
||||
|
||||
$ziptool -r -9 "$name" dosbox-x-mingw-hx-dos/{CHANGELOG.txt,dosbox-x.exe} || exit 1
|
||||
$ziptool -r -9 "$name" dosbox-x-mingw-hx-dos/{CHANGELOG.txt,dosbox-x.exe,HDPMI32.EXE,HXGUIHLP.INI,README.TXT,*.DLL} || exit 1
|
||||
|
||||
exit 0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user