mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-14 19:08:32 +08:00
fix HX-DOS script
This commit is contained in:
@@ -41,9 +41,10 @@ fi
|
|||||||
top=`pwd`
|
top=`pwd`
|
||||||
cd "$top" || exit 1
|
cd "$top" || exit 1
|
||||||
|
|
||||||
ziptool="$top/dosbox-x-mingw-hx-dos/vs2015/tool/zip.exe"
|
hxdosdir="dosbox-x-mingw-hx-dos"
|
||||||
|
ziptool="$top/$hxdosdir/vs/tool/zip.exe"
|
||||||
|
|
||||||
cd "$top/dosbox-x-mingw-hx-dos" || exit 1
|
cd "$top/$hxdosdir" || exit 1
|
||||||
git clean -dfx
|
git clean -dfx
|
||||||
git reset --hard
|
git reset --hard
|
||||||
git checkout master
|
git checkout master
|
||||||
@@ -71,10 +72,10 @@ cp $hxdir/README.TXT . || exit 1
|
|||||||
cp $hxdir/WINSPOOL.DRV . || exit 1
|
cp $hxdir/WINSPOOL.DRV . || exit 1
|
||||||
cp $hxdir/*.DLL . || exit 1
|
cp $hxdir/*.DLL . || exit 1
|
||||||
|
|
||||||
cd "$top"/dosbox-x-mingw-hx-dos || exit 1
|
cd "$top/$hxdosdir" || exit 1
|
||||||
echo "Packing up now..."
|
echo "Packing up now..."
|
||||||
|
|
||||||
$ziptool -r -9 ../"$name" {CHANGELOG.txt,dosbox-x.exe,dosbox-x.ref,DPMILD32.EXE,HDPMI32.EXE,HXGUIHLP.INI,README.TXT,*.DLL} || exit 1
|
$ziptool -r -9 ../"$name" {CHANGELOG.txt,dosbox-x.exe,dosbox-x.ref,dosbox-x.ref.full,DPMILD32.EXE,HDPMI32.EXE,HXGUIHLP.INI,README.TXT,WINSPOOL.DRV,*.DLL} || exit 1
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
@@ -33,7 +33,7 @@ build="$top/mingw-build"
|
|||||||
rm -Rf "$build"
|
rm -Rf "$build"
|
||||||
mkdir -p "$build" || exit 1
|
mkdir -p "$build" || exit 1
|
||||||
|
|
||||||
ziptool="$top/dosbox-x-mingw/vs2015/tool/zip.exe"
|
ziptool="$top/dosbox-x-mingw/vs/tool/zip.exe"
|
||||||
|
|
||||||
# do it
|
# do it
|
||||||
for what in mingw mingw-lowend mingw-sdl2 mingw-sdldraw; do
|
for what in mingw mingw-lowend mingw-sdl2 mingw-sdldraw; do
|
||||||
|
Reference in New Issue
Block a user