aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/embeddable-dll-service/build.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--embeddable-dll-service/build.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/embeddable-dll-service/build.bat b/embeddable-dll-service/build.bat
index eca1f0cf..b4c29000 100644
--- a/embeddable-dll-service/build.bat
+++ b/embeddable-dll-service/build.bat
@@ -23,6 +23,13 @@ if exist ..\.deps\prepared goto :build
call :build_plat amd64 x86_64 amd64 || goto :error
call :build_plat arm64 aarch64 arm64 || goto :error
+:sign
+ if exist ..\sign.bat call ..\sign.bat
+ if "%SigningCertificate%"=="" goto :success
+ if "%TimestampServer%"=="" goto :success
+ echo [+] Signing
+ signtool sign /sha1 "%SigningCertificate%" /fd sha256 /tr "%TimestampServer%" /td sha256 /d "WireGuard Tunnel" x86\tunnel.dll amd64\tunnel.dll arm64\tunnel.dll || goto :error
+
:success
echo [+] Success
exit /b 0