diff --git a/cpp/LunaHook/scripts/build32xp_local.bat b/cpp/LunaHook/scripts/build32xp_local.bat index b6097407..d41757d9 100644 --- a/cpp/LunaHook/scripts/build32xp_local.bat +++ b/cpp/LunaHook/scripts/build32xp_local.bat @@ -1,3 +1,3 @@ -cmake -DBUILD_PLUGIN=OFF -DBUILD_GUI=ON -DWINXP=1 ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/x86_xp +cmake -DBUILD_PLUGIN=OFF -DBUILD_GUI=ON -DBUILD_CLI=ON -DWINXP=1 ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/x86_xp @REM cmake -DBUILD_PLUGIN=OFF -DWINXP=1 -DLANGUAGE=Chinese ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/x86_zh_xp call dobuildxp.bat \ No newline at end of file diff --git a/cpp/LunaHook/scripts/buildplugin32.bat b/cpp/LunaHook/scripts/buildplugin32.bat deleted file mode 100644 index 1db41c86..00000000 --- a/cpp/LunaHook/scripts/buildplugin32.bat +++ /dev/null @@ -1,2 +0,0 @@ -cmake -DBUILD_CORE=OFF -DUSESYSQTPATH=1 -DBUILD_PLUGIN=ON ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/plugin32 -cmake --build ../build/plugin32 --config Release --target ALL_BUILD -j 14 \ No newline at end of file diff --git a/cpp/LunaHook/scripts/buildplugin32_local.bat b/cpp/LunaHook/scripts/buildplugin32_local.bat deleted file mode 100644 index d801790f..00000000 --- a/cpp/LunaHook/scripts/buildplugin32_local.bat +++ /dev/null @@ -1,2 +0,0 @@ -cmake -DBUILD_CORE=OFF -DPLUGIN=1 ../CMakeLists.txt -G "Visual Studio 17 2022" -A win32 -T host=x86 -B ../build/plugin32 -cmake --build ../build/plugin32 --config Release --target ALL_BUILD -j 14 \ No newline at end of file diff --git a/cpp/LunaHook/scripts/buildplugin64.bat b/cpp/LunaHook/scripts/buildplugin64.bat deleted file mode 100644 index 98103b3e..00000000 --- a/cpp/LunaHook/scripts/buildplugin64.bat +++ /dev/null @@ -1,2 +0,0 @@ -cmake -DBUILD_CORE=OFF -DUSESYSQTPATH=1 -DBUILD_PLUGIN=ON ../CMakeLists.txt -G "Visual Studio 17 2022" -A x64 -T host=x64 -B ../build/plugin64 -cmake --build ../build/plugin64 --config Release --target ALL_BUILD -j 14 \ No newline at end of file diff --git a/cpp/LunaHook/scripts/edit_target.py b/cpp/LunaHook/scripts/edit_target.py index c5330ab7..51ddc733 100644 --- a/cpp/LunaHook/scripts/edit_target.py +++ b/cpp/LunaHook/scripts/edit_target.py @@ -14,7 +14,7 @@ for f in ['../build/x86_zh_xp','../build/x86_xp']: url = "https://github.com/Chuyu-Team/YY-Thunks/releases/download/v1.0.7/YY-Thunks-1.0.7-Binary.zip" -target = "../YY-Thunks/objs/X86/YY_Thunks_for_WinXP.obj" +target = "../../libs/YY-Thunks/objs/X86/YY_Thunks_for_WinXP.obj" if os.path.exists(target) == False: os.system(rf"curl -SLo YY-Thunks-1.0.7-Binary.zip " + url) - os.system(rf"7z x -y YY-Thunks-1.0.7-Binary.zip -o../YY-Thunks") \ No newline at end of file + os.system(rf"7z x -y YY-Thunks-1.0.7-Binary.zip -o../../libs/YY-Thunks") \ No newline at end of file