compress cgc.exe differently (cexe, doesn't really trip virus scanners) since upx can't handle it; add Firmware directory to dist script

This commit is contained in:
zeromus 2016-03-24 16:42:33 -05:00
parent 204ff2365f
commit d7cd62c4d6
2 changed files with 5 additions and 3 deletions

Binary file not shown.

View File

@ -62,9 +62,10 @@ move gitsucks\output\Firmware temp
rmdir /s /q gitsucks
rem remove UPX from any files we have checked in, because people's lousy security software hates it
rem upx -d temp\dll\*.dll
rem upx -d temp\dll\*.exe
rem upx -d temp\*.exe
rem: wait, why did I comment this out? did it have to do with CGC not roundtripping de-UPXing? then we should just not UPX it in the first place (but it's big)
upx -d temp\dll\*.dll
upx -d temp\dll\*.exe
upx -d temp\*.exe
cd temp
@ -72,6 +73,7 @@ rem Patch up working dir with a few other things we want
mkdir ExternalTools
copy ..\HelloWorld_BizHawkTool.dll ExternalTools
copy ..\HelloWorld_BizHawkTool.zip ExternalTools
mkdir Firmware
rem Build the final zip
..\zip.exe -X -9 -r ..\%NAME% . -i \*