From 4143f713cfe9062797daea56b7b65b75c4a8c9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Mon, 16 Dec 2024 16:32:08 +0800 Subject: [PATCH] . --- .github/scripts/build_lunahook.py | 2 +- cpp/LunaHook/Lang/Lang_hook.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/scripts/build_lunahook.py b/.github/scripts/build_lunahook.py index 5d485a86..cef6af17 100644 --- a/.github/scripts/build_lunahook.py +++ b/.github/scripts/build_lunahook.py @@ -109,5 +109,5 @@ elif sys.argv[1] == "build": elif bit == "winxp_core": build_langx_xp(True) else: - onlycore = int(sys.argv[4]) if len(sys.argv) >= 5 else False + onlycore = int(sys.argv[3]) if len(sys.argv) >= 4 else False build_langx(bit, onlycore) diff --git a/cpp/LunaHook/Lang/Lang_hook.cpp b/cpp/LunaHook/Lang/Lang_hook.cpp index 999142f1..e3dd0c4f 100644 --- a/cpp/LunaHook/Lang/Lang_hook.cpp +++ b/cpp/LunaHook/Lang/Lang_hook.cpp @@ -173,10 +173,10 @@ std::unordered_map