Skip to content

Commit 8d98042

Browse files
committed
embeddable-dll-service: build: integrate tunnel.dll signing
Signed-off-by: Simon Rozman <[email protected]>
1 parent 3bf8b7c commit 8d98042

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

embeddable-dll-service/build.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ if exist ..\.deps\prepared goto :build
2323
call :build_plat amd64 x86_64 amd64 || goto :error
2424
call :build_plat arm64 aarch64 arm64 || goto :error
2525

26+
:sign
27+
if exist ..\sign.bat call ..\sign.bat
28+
if "%SigningCertificate%"=="" goto :success
29+
if "%TimestampServer%"=="" goto :success
30+
echo [+] Signing
31+
signtool sign /sha1 "%SigningCertificate%" /fd sha256 /tr "%TimestampServer%" /td sha256 /d "WireGuard Tunnel" x86\tunnel.dll amd64\tunnel.dll arm64\tunnel.dll || goto :error
32+
2633
:success
2734
echo [+] Success
2835
exit /b 0

0 commit comments

Comments
 (0)