Skip to content

Commit

Permalink
embeddable-dll-service: build: integrate tunnel.dll signing
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Rozman <[email protected]>
  • Loading branch information
rozmansi committed Mar 28, 2022
1 parent 3bf8b7c commit 8d98042
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions embeddable-dll-service/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8d98042

Please sign in to comment.