TTI fixed the 7-zip paths being wrong in the qvm pk3, also gave us neat datestamp on the filename!

This commit is contained in:
Andrew Prosnik 2009-07-05 03:02:23 +00:00
parent 7a2a213ef2
commit 0a4c17e3c8

View file

@ -126,16 +126,17 @@ REM *** The pk3 is named like it is so it is always loaded last for testing.
echo.
echo *** Remove any old pk3 and create a new one...
echo.
set zipname=%make-qvm-location%bin\qvm\zzzz-code-.pk3
set zipname=%make-qvm-location%bin\qvm\zzzz-code-*.pk3
del "%zipname%"
set zipname=%make-qvm-location%bin\qvm\zzzz-code-%date:~-4,4%%date:~-7,2%%date:~-10,2%.pk3
cd "%make-qvm-location%bin\qvm"
copy /y "%make-qvm-location%uifiles\*.menu" "%make-qvm-location%bin\qvm\ui"
copy /y "%make-qvm-location%uifiles\menus.txt" "%make-qvm-location%bin\qvm\ui"
copy /y "%make-qvm-location%uifiles\ingame.txt" "%make-qvm-location%bin\qvm\ui"
"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\vm\*.qvm"
"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\ui\*.menu"
"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\ui\menus.txt"
"%zipper%" a -tzip "%zipname%" "%make-qvm-location%bin\qvm\ui\ingame.txt"
"%zipper%" a -tzip "%zipname%" vm\*.qvm
"%zipper%" a -tzip "%zipname%" ui\*.menu
"%zipper%" a -tzip "%zipname%" ui\menus.txt
"%zipper%" a -tzip "%zipname%" ui\ingame.txt
:END
echo.