-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
make_release.bat
52 lines (43 loc) · 2.5 KB
/
make_release.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
SET vcvarsall="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86
cd %~dp0
rmdir /S /Q DbgChild_Release
rmdir /S /Q NewProcessWatcher\Release
rmdir /S /Q NewProcessWatcher\x64
rmdir /S /Q NTDLLEntryPatch\Release
rmdir /S /Q NTDLLEntryPatch\x64
rmdir /S /Q CreateProcessPatch\Release
rmdir /S /Q CreateProcessPatch\x64
rmdir /S /Q DbgChildHookDLL\Release
rmdir /S /Q DbgChildHookDLL\x64
rmdir /S /Q x64dbgplugin\bin
call %vcvarsall%
msbuild "NewProcessWatcher\NewProcessWatcher.sln" /t:Rebuild /p:Configuration=Release;Platform=x86
msbuild "x64dbgplugin\dbgchild.sln" /t:Rebuild /p:Configuration=Release;Platform=Win32
msbuild "x64dbgplugin\dbgchild.sln" /t:Rebuild /p:Configuration=Release;Platform=x64
msbuild "NTDLLEntryPatch\NTDLLEntryPatch.sln" /t:Rebuild /p:Configuration=Release;Platform=x86
msbuild "NTDLLEntryPatch\NTDLLEntryPatch.sln" /t:Rebuild /p:Configuration=Release;Platform=x64
msbuild "CreateProcessPatch\CreateProcessPatch.sln" /t:Rebuild /p:Configuration=Release;Platform=x86
msbuild "CreateProcessPatch\CreateProcessPatch.sln" /t:Rebuild /p:Configuration=Release;Platform=x64
msbuild "DbgChildHookDLL\DbgChildHookDLL.sln" /t:Rebuild /p:Configuration=Release;Platform=x86
msbuild "DbgChildHookDLL\DbgChildHookDLL.sln" /t:Rebuild /p:Configuration=Release;Platform=x64
mkdir DbgChild_Release
mkdir DbgChild_Release\release
mkdir DbgChild_Release\release\dbgchildlogs
mkdir DbgChild_Release\release\x32
mkdir DbgChild_Release\release\x32\plugins
mkdir DbgChild_Release\release\x32\CPIDS
mkdir DbgChild_Release\release\x64
mkdir DbgChild_Release\release\x64\plugins
mkdir DbgChild_Release\release\x64\CPIDS
TYPE README.md | MORE /P > DbgChild_Release\release\readme_dbgchild.txt
copy NewProcessWatcher\Release\NewProcessWatcher.exe DbgChild_Release\release\
copy NewProcessWatcher\*.txt DbgChild_Release\release\
copy NTDLLEntryPatch\Release\NTDLLEntryPatch.exe DbgChild_Release\release\x32
copy CreateProcessPatch\Release\CreateProcessPatch.exe DbgChild_Release\release\x32
copy DbgChildHookDLL\Release\DbgChildHookDLL.dll DbgChild_Release\release\x32
copy x64dbgplugin\bin\x32\dbgchild.dp32 DbgChild_Release\release\x32\plugins
copy NTDLLEntryPatch\x64\Release\NTDLLEntryPatch.exe DbgChild_Release\release\x64
copy CreateProcessPatch\x64\Release\CreateProcessPatch.exe DbgChild_Release\release\x64
copy DbgChildHookDLL\x64\Release\DbgChildHookDLL.dll DbgChild_Release\release\x64
copy x64dbgplugin\bin\x64\dbgchild.dp64 DbgChild_Release\release\x64\plugins
pause