diff --git a/.gitignore b/.gitignore index a1e247c..8823493 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ src/ExileLootDropTester/obj/* *.suo src/packages/* .hgignore +@ExileLootDrop.zip diff --git a/build.bat b/build.bat index b0dbc85..280966a 100644 --- a/build.bat +++ b/build.bat @@ -7,7 +7,11 @@ mkdir @ExileLootDrop\addons %MSBUILD% src\ExileLootDrop.sln /property:Configuration=release /target:Rebuild /verbosity:normal /nologo copy src\ExileLootDrop\bin\Release\ExileLootDrop.dll @ExileLootDrop copy src\ExileLootDrop\bin\Release\ExileLootDrop.cfg @ExileLootDrop +copy src\ExileLootDropTester\bin\Release\ExileLootDropTester.exe @ExileLootDrop copy LICENSE.txt @ExileLootDrop copy README.md @ExileLootDrop %MAKEPBO% -U -W -P -@=ExileLootDrop sqf @ExileLootDrop\addons\ExileLootDrop.pbo +del @ExileLootDrop.zip +powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('@ExileLootDrop', '@ExileLootDrop.zip'); }" +pause \ No newline at end of file