diff --git a/.gitignore b/.gitignore index 070ae89b..04d5c0d0 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,8 @@ /output/sav/*.sav /output/fcs/*.fc* /vc/userconfig/scmrev.h +/vc/fceux.zip +/vc/fceux64.zip # linux build output bin diff --git a/pipelines/win64_build.bat b/pipelines/win64_build.bat index c2453bfc..679aa350 100644 --- a/pipelines/win64_build.bat +++ b/pipelines/win64_build.bat @@ -7,8 +7,11 @@ msbuild %PROJECT_ROOT%\vc\vc14_fceux.vcxproj /p:Configuration=Release /p:Platfor cd %PROJECT_ROOT%\vc REM Create Zip Archive + cd %PROJECT_ROOT%\output -..\vc\zip -X -9 -r ..\vc\fceux64.zip ..\vc\x64\Release\fceux.exe fceux.chm taseditor.chm ..\src\drivers\win\lua\x64\lua5.1.dll ..\src\drivers\win\lua\x64\lua51.dll 7z.dll ..\src\auxlib\auxlib.lua palettes luaScripts tools +..\vc\zip -X -9 -j ..\vc\fceux64.zip ..\vc\x64\Release\fceux.exe ..\src\drivers\win\lua\x64\lua5.1.dll ..\src\drivers\win\lua\x64\lua51.dll ..\src\auxlib.lua +@if ERRORLEVEL 1 goto end +..\vc\zip -X -9 -u -r ..\vc\fceux64.zip fceux.chm taseditor.chm palettes luaScripts tools 7z.dll @if ERRORLEVEL 1 goto end cd %PROJECT_ROOT%