From de35b6e250da75353b1f4a43b737478093accff8 Mon Sep 17 00:00:00 2001 From: ThirteenAG Date: Wed, 26 Jun 2024 15:13:16 +0800 Subject: [PATCH] submodule update [skip ci] --- external/injector | 2 +- premake5.lua | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 13 deletions(-) diff --git a/external/injector b/external/injector index 9fb030d..9da9f94 160000 --- a/external/injector +++ b/external/injector @@ -1 +1 @@ -Subproject commit 9fb030defbfdb24cb1beaac6b70c0785e4112c65 +Subproject commit 9da9f948b5e87e7577decf2776eeeb3cb8d6fcec diff --git a/premake5.lua b/premake5.lua index 9092692..56c4e61 100644 --- a/premake5.lua +++ b/premake5.lua @@ -51,9 +51,10 @@ project "Ultimate-ASI-Loader-Win32" includedirs { "source" } includedirs { "external" } - includedirs { "external/injector/safetyhook" } - files { "external/injector/safetyhook/safetyhook.hpp", "external/injector/safetyhook/safetyhook.cpp" } - files { "external/injector/safetyhook/Zydis.h", "external/injector/safetyhook/Zydis.c" } + includedirs { "external/injector/safetyhook/include" } + files { "external/injector/safetyhook/include/**.hpp", "external/injector/safetyhook/src/**.cpp" } + includedirs { "external/injector/zydis" } + files { "external/injector/zydis/**.h", "external/injector/zydis/**.c" } files { "source/dllmain.h", "source/dllmain.cpp" } files { "source/x86.def" } @@ -135,9 +136,10 @@ project "MonoLoader" files { "source/demo_plugins/MonoLoader.cpp" } files { "source/resources/Versioninfo.rc" } - includedirs { "external/injector/safetyhook" } - files { "external/injector/safetyhook/safetyhook.hpp", "external/injector/safetyhook/safetyhook.cpp" } - files { "external/injector/safetyhook/Zydis.h", "external/injector/safetyhook/Zydis.c" } + includedirs { "external/injector/safetyhook/include" } + files { "external/injector/safetyhook/include/**.hpp", "external/injector/safetyhook/src/**.cpp" } + includedirs { "external/injector/zydis" } + files { "external/injector/zydis/**.h", "external/injector/zydis/**.c" } characterset ("UNICODE") @@ -198,9 +200,10 @@ project "Ultimate-ASI-Loader-x64" includedirs { "source" } includedirs { "external" } - includedirs { "external/injector/safetyhook" } - files { "external/injector/safetyhook/safetyhook.hpp", "external/injector/safetyhook/safetyhook.cpp" } - files { "external/injector/safetyhook/Zydis.h", "external/injector/safetyhook/Zydis.c" } + includedirs { "external/injector/safetyhook/include" } + files { "external/injector/safetyhook/include/**.hpp", "external/injector/safetyhook/src/**.cpp" } + includedirs { "external/injector/zydis" } + files { "external/injector/zydis/**.h", "external/injector/zydis/**.c" } files { "source/dllmain.h", "source/dllmain.cpp" } files { "source/x64.def" } @@ -266,9 +269,10 @@ project "MonoLoader_x64" files { "source/demo_plugins/MonoLoader.cpp" } files { "source/resources/Versioninfo.rc" } - includedirs { "external/injector/safetyhook" } - files { "external/injector/safetyhook/safetyhook.hpp", "external/injector/safetyhook/safetyhook.cpp" } - files { "external/injector/safetyhook/Zydis.h", "external/injector/safetyhook/Zydis.c" } + includedirs { "external/injector/safetyhook/include" } + files { "external/injector/safetyhook/include/**.hpp", "external/injector/safetyhook/src/**.cpp" } + includedirs { "external/injector/zydis" } + files { "external/injector/zydis/**.h", "external/injector/zydis/**.c" } characterset ("UNICODE")