fceux/vc/archive.bat

22 lines
550 B
Batchfile
Raw Permalink Normal View History

2013-09-23 20:48:54 +00:00
del /s fceux.zip
copy ..\output\fceux.exe .
upx ..\output\fceux.exe
IF ERRORLEVEL 1 IF NOT ERRORLEVEL 2 GOTO UPXFailed
cd ..\output
..\vc\zip -X -9 -r ..\vc\fceux.zip fceux.exe fceux.chm taseditor.chm 7z.dll *.dll palettes luaScripts tools
move /y ..\vc\fceux.exe .
2020-06-17 01:14:44 +00:00
REM ..\vc\zip -X -9 -r ..\vc\fceux.zip auxlib.lua
2013-09-23 20:48:54 +00:00
cd ..
REM vc\zip -X -9 -r vc\fceux.zip documentation
cd vc
GOTO end
:UPXFailed
CLS
echo.
echo FCEUX.EXE is either compiling or running.
echo Close it or let it finish before trying this script again.
pause
:end