From 35250cb0948c124b55e1933c7565affb8e75dc50 Mon Sep 17 00:00:00 2001 From: hzqst <113660872@qq.com> Date: Sun, 26 Jan 2025 17:54:14 +0800 Subject: [PATCH] update scripts/build-Plugins.bat --- scripts/build-Plugins.bat | 41 ++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 24 deletions(-) diff --git a/scripts/build-Plugins.bat b/scripts/build-Plugins.bat index 038e8690..8012345b 100644 --- a/scripts/build-Plugins.bat +++ b/scripts/build-Plugins.bat @@ -20,58 +20,51 @@ if exist "%InstallDir%\Common7\Tools\vsdevcmd.bat" ( "%InstallDir%\Common7\Tools\vsdevcmd.bat" MSBuild.exe MetaHook.sln "/target:Plugins\Renderer" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\Renderer" /p:Configuration="Release_AVX2" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\BulletPhysics" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\BulletPhysics" /p:Configuration="Release_AVX2" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\VGUI2Extension" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\CaptionMod" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\CommunicationDemo" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\DontFlushSoundCache" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\PrecacheManager" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\SCModelDownloader" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\SteamScreenshots" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\StudioEvents" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\ThreadGuard" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\ResourceReplacer" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\HeapPatch" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror + MSBuild.exe MetaHook.sln "/target:Plugins\SCCameraFix" /p:Configuration="Release" /p:Platform="Win32" - IF %ERRORLEVEL% NEQ 0 GOTO builderror - - echo Build OK - exit /b 0 - -) + -:builderror -echo Build failed -exit /b -1 \ No newline at end of file +) \ No newline at end of file