mirror of
https://github.com/x64dbg/x64dbg.git
synced 2024-11-27 06:40:24 +00:00
139 lines
5.6 KiB
Batchfile
139 lines
5.6 KiB
Batchfile
@echo off
|
|
set RELEASEDIR=.\release
|
|
rmdir /S /Q %RELEASEDIR%
|
|
mkdir %RELEASEDIR%
|
|
|
|
echo qt_base
|
|
|
|
mkdir %RELEASEDIR%\qt_base
|
|
mkdir %RELEASEDIR%\qt_base\x32
|
|
mkdir %RELEASEDIR%\qt_base\x64
|
|
|
|
copy bin\x32\QtCore4.dll %RELEASEDIR%\qt_base\x32\QtCore4.dll
|
|
copy bin\x32\QtGui4.dll %RELEASEDIR%\qt_base\x32\QtGui4.dll
|
|
copy bin\x32\QtNetwork4.dll %RELEASEDIR%\qt_base\x32\QtNetwork4.dll
|
|
copy bin\x64\QtCore4.dll %RELEASEDIR%\qt_base\x64\QtCore4.dll
|
|
copy bin\x64\QtGui4.dll %RELEASEDIR%\qt_base\x64\QtGui4.dll
|
|
copy bin\x64\QtNetwork4.dll %RELEASEDIR%\qt_base\x64\QtNetwork4.dll
|
|
|
|
echo bin_base
|
|
|
|
mkdir %RELEASEDIR%\bin_base
|
|
mkdir %RELEASEDIR%\bin_base\x32
|
|
mkdir %RELEASEDIR%\bin_base\x64
|
|
|
|
copy bin\x32\x32_bridge.dll %RELEASEDIR%\bin_base\x32\x32_bridge.dll
|
|
copy bin\x32\x32_dbg.dll %RELEASEDIR%\bin_base\x32\x32_dbg.dll
|
|
copy bin\x32\capstone.dll %RELEASEDIR%\bin_base\x32\capstone.dll
|
|
copy bin\x32\dbghelp.dll %RELEASEDIR%\bin_base\x32\dbghelp.dll
|
|
copy bin\x32\symsrv.dll %RELEASEDIR%\bin_base\x32\symsrv.dll
|
|
copy bin\x32\DeviceNameResolver.dll %RELEASEDIR%\bin_base\x32\DeviceNameResolver.dll
|
|
copy bin\x32\Scylla.dll %RELEASEDIR%\bin_base\x32\Scylla.dll
|
|
copy bin\x32\jansson.dll %RELEASEDIR%\bin_base\x32\jansson.dll
|
|
copy bin\x32\lz4.dll %RELEASEDIR%\bin_base\x32\lz4.dll
|
|
copy bin\x32\TitanEngine.dll %RELEASEDIR%\bin_base\x32\TitanEngine.dll
|
|
copy bin\x32\XEDParse.dll %RELEASEDIR%\bin_base\x32\XEDParse.dll
|
|
copy bin\x32\yara.dll %RELEASEDIR%\bin_base\x32\yara.dll
|
|
copy bin\x32\snowman.dll %RELEASEDIR%\bin_base\x32\snowman.dll
|
|
copy bin\x64\x64_bridge.dll %RELEASEDIR%\bin_base\x64\x64_bridge.dll
|
|
copy bin\x64\x64_dbg.dll %RELEASEDIR%\bin_base\x64\x64_dbg.dll
|
|
copy bin\x64\capstone.dll %RELEASEDIR%\bin_base\x64\capstone.dll
|
|
copy bin\x64\dbghelp.dll %RELEASEDIR%\bin_base\x64\dbghelp.dll
|
|
copy bin\x64\symsrv.dll %RELEASEDIR%\bin_base\x64\symsrv.dll
|
|
copy bin\x64\DeviceNameResolver.dll %RELEASEDIR%\bin_base\x64\DeviceNameResolver.dll
|
|
copy bin\x64\Scylla.dll %RELEASEDIR%\bin_base\x64\Scylla.dll
|
|
copy bin\x64\jansson.dll %RELEASEDIR%\bin_base\x64\jansson.dll
|
|
copy bin\x64\lz4.dll %RELEASEDIR%\bin_base\x64\lz4.dll
|
|
copy bin\x64\TitanEngine.dll %RELEASEDIR%\bin_base\x64\TitanEngine.dll
|
|
copy bin\x64\XEDParse.dll %RELEASEDIR%\bin_base\x64\XEDParse.dll
|
|
copy bin\x64\yara.dll %RELEASEDIR%\bin_base\x64\yara.dll
|
|
copy bin\x64\snowman.dll %RELEASEDIR%\bin_base\x64\snowman.dll
|
|
|
|
echo help
|
|
|
|
mkdir %RELEASEDIR%\help
|
|
|
|
copy help\x64dbg.chm %RELEASEDIR%\help
|
|
|
|
echo pluginsdk
|
|
|
|
mkdir %RELEASEDIR%\pluginsdk
|
|
mkdir %RELEASEDIR%\pluginsdk\capstone
|
|
mkdir %RELEASEDIR%\pluginsdk\dbghelp
|
|
mkdir %RELEASEDIR%\pluginsdk\DeviceNameResolver
|
|
mkdir %RELEASEDIR%\pluginsdk\jansson
|
|
mkdir %RELEASEDIR%\pluginsdk\lz4
|
|
mkdir %RELEASEDIR%\pluginsdk\TitanEngine
|
|
mkdir %RELEASEDIR%\pluginsdk\XEDParse
|
|
mkdir %RELEASEDIR%\pluginsdk\yara
|
|
mkdir %RELEASEDIR%\pluginsdk\yara\yara
|
|
|
|
xcopy src\dbg\capstone %RELEASEDIR%\pluginsdk\capstone /S /Y
|
|
xcopy src\dbg\dbghelp %RELEASEDIR%\pluginsdk\dbghelp /S /Y
|
|
xcopy src\dbg\DeviceNameResolver %RELEASEDIR%\pluginsdk\DeviceNameResolver /S /Y
|
|
xcopy src\dbg\jansson %RELEASEDIR%\pluginsdk\jansson /S /Y
|
|
xcopy src\dbg\lz4 %RELEASEDIR%\pluginsdk\lz4 /S /Y
|
|
xcopy src\dbg\TitanEngine %RELEASEDIR%\pluginsdk\TitanEngine /S /Y
|
|
del %RELEASEDIR%\pluginsdk\TitanEngine\TitanEngine.txt /F /Q
|
|
xcopy src\dbg\XEDParse %RELEASEDIR%\pluginsdk\XEDParse /S /Y
|
|
xcopy src\dbg\yara %RELEASEDIR%\pluginsdk\yara /S /Y
|
|
copy src\dbg\_plugin_types.h %RELEASEDIR%\pluginsdk\_plugin_types.h
|
|
copy src\dbg\_plugins.h %RELEASEDIR%\pluginsdk\_plugins.h
|
|
copy src\dbg\_scriptapi*.h %RELEASEDIR%\pluginsdk\_scriptapi*.h
|
|
copy src\dbg\_dbgfunctions.h %RELEASEDIR%\pluginsdk\_dbgfunctions.h
|
|
copy src\bridge\bridgelist.h %RELEASEDIR%\pluginsdk\bridgelist.h
|
|
copy src\bridge\bridgemain.h %RELEASEDIR%\pluginsdk\bridgemain.h
|
|
|
|
genlib bin\x32\x32bridge.dll
|
|
copy x32bridge.a %RELEASEDIR%\pluginsdk\libx32bridge.a
|
|
del x32bridge.def
|
|
del x32bridge.a
|
|
copy bin\x32\x32bridge.lib %RELEASEDIR%\pluginsdk\x32bridge.lib
|
|
|
|
genlib bin\x32\x32dbg.dll
|
|
copy x32dbg.a %RELEASEDIR%\pluginsdk\libx32dbg.a
|
|
del x32dbg.def
|
|
del x32dbg.a
|
|
copy bin\x32\x32dbg.lib %RELEASEDIR%\pluginsdk\x32dbg.lib
|
|
|
|
genlib bin\x64\x64bridge.dll
|
|
copy x64bridge.a %RELEASEDIR%\pluginsdk\libx64bridge.a
|
|
del x64bridge.def
|
|
del x64bridge.a
|
|
copy bin\x64\x64bridge.lib %RELEASEDIR%\pluginsdk\x64bridge.lib
|
|
|
|
genlib bin\x64\x64dbg.dll
|
|
copy x64dbg.a %RELEASEDIR%\pluginsdk\libx64dbg.a
|
|
del x64dbg.def
|
|
del x64dbg.a
|
|
copy bin\x64\x64dbg.lib %RELEASEDIR%\pluginsdk\x64dbg.lib
|
|
|
|
echo release
|
|
|
|
mkdir %RELEASEDIR%\release
|
|
mkdir %RELEASEDIR%\release\x32
|
|
mkdir %RELEASEDIR%\release\x64
|
|
|
|
copy bin\x96dbg.exe %RELEASEDIR%\release\x96dbg.exe
|
|
copy bin\x32\x32bridge.dll %RELEASEDIR%\release\x32\x32bridge.dll
|
|
copy bin\x32\x32bridge.pdb %RELEASEDIR%\release\x32\x32bridge.pdb
|
|
copy bin\x32\x32dbg.dll %RELEASEDIR%\release\x32\x32dbg.dll
|
|
copy bin\x32\x32dbg.pdb %RELEASEDIR%\release\x32\x32dbg.pdb
|
|
copy bin\x32\x32dbg.exe %RELEASEDIR%\release\x32\x32dbg.exe
|
|
copy bin\x32\x32dbg_exe.pdb %RELEASEDIR%\release\x32\x32dbg_exe.pdb
|
|
copy bin\x32\x32gui.dll %RELEASEDIR%\release\x32\x32gui.dll
|
|
copy bin\x32\x32gui.pdb %RELEASEDIR%\release\x32\x32gui.pdb
|
|
copy bin\x64\x64bridge.dll %RELEASEDIR%\release\x64\x64bridge.dll
|
|
copy bin\x64\x64bridge.pdb %RELEASEDIR%\release\x64\x64bridge.pdb
|
|
copy bin\x64\x64dbg.dll %RELEASEDIR%\release\x64\x64dbg.dll
|
|
copy bin\x64\x64dbg.pdb %RELEASEDIR%\release\x64\x64dbg.pdb
|
|
copy bin\x64\x64dbg.exe %RELEASEDIR%\release\x64\x64dbg.exe
|
|
copy bin\x64\x64dbg_exe.pdb %RELEASEDIR%\release\x64\x64dbg_exe.pdb
|
|
copy bin\x64\x64gui.dll %RELEASEDIR%\release\x64\x64gui.dll
|
|
copy bin\x64\x64gui.pdb %RELEASEDIR%\release\x64\x64gui.pdb
|
|
|
|
xcopy %RELEASEDIR%\qt_base %RELEASEDIR%\release /S /Y
|
|
xcopy %RELEASEDIR%\bin_base %RELEASEDIR%\release /S /Y
|
|
xcopy %RELEASEDIR%\help %RELEASEDIR%\release /S /Y
|
|
|
|
exit 0 |