From 48595ec16748e80b52be4bef5c86595f312b818f Mon Sep 17 00:00:00 2001 From: Netch Date: Sun, 1 Aug 2021 16:38:10 +0800 Subject: [PATCH] Update build.ps1 --- build.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/build.ps1 b/build.ps1 index 91d66595..af54c67c 100644 --- a/build.ps1 +++ b/build.ps1 @@ -63,6 +63,7 @@ msbuild ` -property:Configuration="$Configuration" ` -property:Platform=x64 ` '.\RouteHelper\RouteHelper.vcxproj' +if ( -Not $? ) { exit $lastExitCode } cp -Force '.\other\release\*' "$OutputPath\bin" cp -Force '.\Redirector\bin\Redirector.bin' "$OutputPath\bin"