2017-08-04 15:51:25 +00:00
|
|
|
set MSBUILD="C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MsBuild.exe"
|
2016-09-27 21:50:00 +00:00
|
|
|
set MAKEPBO="C:\Program Files (x86)\Mikero\DePboTools\bin\MakePbo.exe"
|
|
|
|
|
|
|
|
rd /s /q @ExileLootDrop
|
|
|
|
mkdir @ExileLootDrop\addons
|
|
|
|
|
2017-02-21 13:49:23 +00:00
|
|
|
%MSBUILD% src\ExileLootDrop.sln /property:Configuration=release /property:Platform=x86 /target:Rebuild /verbosity:normal /nologo
|
|
|
|
copy src\ExileLootDrop\bin\x86\Release\ExileLootDrop.dll @ExileLootDrop\ExileLootDrop.dll
|
|
|
|
copy src\ExileLootDropTester\bin\x86\Release\ExileLootDropTester.exe @ExileLootDrop
|
|
|
|
|
|
|
|
%MSBUILD% src\ExileLootDrop.sln /property:Configuration=release /property:Platform=x64 /target:Rebuild /verbosity:normal /nologo
|
|
|
|
copy src\ExileLootDrop\bin\x64\Release\ExileLootDrop.dll @ExileLootDrop\ExileLootDrop_x64.dll
|
|
|
|
copy src\ExileLootDrop\bin\x64\Release\ExileLootDrop.cfg @ExileLootDrop
|
|
|
|
copy src\ExileLootDrop\bin\x64\Release\ExileLootDrop.ini @ExileLootDrop
|
2016-09-27 21:50:00 +00:00
|
|
|
copy LICENSE.txt @ExileLootDrop
|
2016-09-27 22:10:07 +00:00
|
|
|
copy README.md @ExileLootDrop
|
2016-09-27 21:50:00 +00:00
|
|
|
|
|
|
|
%MAKEPBO% -U -W -P -@=ExileLootDrop sqf @ExileLootDrop\addons\ExileLootDrop.pbo
|
2016-09-28 18:36:58 +00:00
|
|
|
del @ExileLootDrop.zip
|
|
|
|
powershell.exe -nologo -noprofile -command "& { Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::CreateFromDirectory('@ExileLootDrop', '@ExileLootDrop.zip'); }"
|
|
|
|
pause
|