mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-02 07:07:29 +01:00
@@ -8,29 +8,15 @@
|
||||
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
|
||||
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
set(HEADER_FILES
|
||||
Helper.hpp
|
||||
Patcher.hpp
|
||||
Constants/BinaryTypes.hpp
|
||||
Patches/Common.hpp
|
||||
Patches/Mac.hpp
|
||||
Patches/Windows.hpp
|
||||
Patterns/Common.hpp
|
||||
Patterns/Mac.hpp
|
||||
Patterns/Windows.hpp
|
||||
)
|
||||
|
||||
set(SRC_FILES
|
||||
Helper.cpp
|
||||
Patcher.cpp
|
||||
Program.cpp
|
||||
)
|
||||
CollectSourceFiles(${CMAKE_CURRENT_SOURCE_DIR} PRIVATE_SOURCES)
|
||||
|
||||
if (WIN32)
|
||||
list(APPEND SRC_FILES ${sources_windows})
|
||||
list(APPEND PRIVATE_SOURCES ${sources_windows})
|
||||
endif()
|
||||
|
||||
add_executable(connection_patcher ${HEADER_FILES} ${SRC_FILES})
|
||||
GroupSources(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
add_executable(connection_patcher ${PRIVATE_SOURCES})
|
||||
|
||||
target_link_libraries(connection_patcher
|
||||
PUBLIC
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace Connection_Patcher
|
||||
|
||||
struct x64
|
||||
{
|
||||
static const std::vector<unsigned char> CertBundleCASCLocalFile() { return{ 0x45, 0x33, 0xC9, 0x48, 0x89, 0x9C, 0x24, 0xF0, 0x01 }; }
|
||||
static const std::vector<unsigned char> CertBundleCASCLocalFile() { return{ 0x45, 0x33, 0xC9, 0x48, 0x89, 0x9C, 0x24, 0x90, 0x02 }; }
|
||||
static const std::vector<unsigned char> CertBundleSignatureCheck() { return{ 0x75, 0x0B, 0x48, 0xFF, 0xC7, 0x48, 0x83, 0xFF, 0x02 }; }
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user