From 00df865abb49f2ceb64b2537d5c085023cbb63f0 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 16 Jun 2017 13:00:13 +0200 Subject: Tools/Patcher: Updated windows x64 patterns Closes #19896 --- src/tools/connection_patcher/CMakeLists.txt | 24 +++++------------------ src/tools/connection_patcher/Patterns/Windows.hpp | 2 +- 2 files changed, 6 insertions(+), 20 deletions(-) (limited to 'src/tools') diff --git a/src/tools/connection_patcher/CMakeLists.txt b/src/tools/connection_patcher/CMakeLists.txt index 203a9b28415..94739370633 100644 --- a/src/tools/connection_patcher/CMakeLists.txt +++ b/src/tools/connection_patcher/CMakeLists.txt @@ -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 diff --git a/src/tools/connection_patcher/Patterns/Windows.hpp b/src/tools/connection_patcher/Patterns/Windows.hpp index 3c5db972de8..148914e134c 100644 --- a/src/tools/connection_patcher/Patterns/Windows.hpp +++ b/src/tools/connection_patcher/Patterns/Windows.hpp @@ -35,7 +35,7 @@ namespace Connection_Patcher struct x64 { - static const std::vector CertBundleCASCLocalFile() { return{ 0x45, 0x33, 0xC9, 0x48, 0x89, 0x9C, 0x24, 0xF0, 0x01 }; } + static const std::vector CertBundleCASCLocalFile() { return{ 0x45, 0x33, 0xC9, 0x48, 0x89, 0x9C, 0x24, 0x90, 0x02 }; } static const std::vector CertBundleSignatureCheck() { return{ 0x75, 0x0B, 0x48, 0xFF, 0xC7, 0x48, 0x83, 0xFF, 0x02 }; } }; }; -- cgit v1.2.3