Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Commit

Permalink
Upgraded WireGuard for Windows to v0.3.4
Browse files Browse the repository at this point in the history
(Wintun manual installation is not required anymore)
  • Loading branch information
stenya committed Jan 8, 2021
1 parent 16f084d commit c716c15
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 144 deletions.
42 changes: 0 additions & 42 deletions References/Windows/WintunInstaller/WintunInstaller_x86.wxs

This file was deleted.

42 changes: 0 additions & 42 deletions References/Windows/WintunInstaller/WintunInstaller_x86_64.wxs

This file was deleted.

48 changes: 0 additions & 48 deletions References/Windows/WintunInstaller/build_installer.bat

This file was deleted.

14 changes: 2 additions & 12 deletions References/Windows/scripts/build-all.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@ECHO OFF

setlocal
set SCRIPTDIR=%~dp0
set APPVER=%1
Expand All @@ -7,7 +8,7 @@ set DATE=""

rem ==================================================
rem DEFINE required WireGuard version here
set WGVER=v0.0.38
set WGVER=v0.3.4
rem ==================================================

echo ==================================================
Expand Down Expand Up @@ -44,7 +45,6 @@ if %needRebuildWireGuard% == 1 call :build_wireguard || goto :error

call :update_servers_info || goto :error
call :build_agent || goto :error
call ::build_wintun_installer || goto :error

(
rem Save Go variables (to be able to compile CLI with the same Go version)
Expand Down Expand Up @@ -140,16 +140,6 @@ goto :success
copy /y "%SCRIPTDIR%..\.deps\wireguard-windows\amd64\wireguard.exe" "%SCRIPTDIR%..\WireGuard\x86_64\wireguard.exe" >nul 2>&1 || exit /b 1
goto :eof

:build_wintun_installer
echo [*] Building Wintun driver installer ...
cd "%SCRIPTDIR%..\WintunInstaller"
call build_installer.bat || exit /b 1
echo [*] Wintun installer build DONE. Copying compiled binaries ...
cd "%SCRIPTDIR%..\WintunInstaller"
copy /y "bin\WintunInstaller_x86.msi" "%SCRIPTDIR%..\WireGuard\x86\WintunInstaller_x86.msi" >nul 2>&1 || exit /b 1
copy /y "bin\WintunInstaller_x86_64.msi" "%SCRIPTDIR%..\WireGuard\x86_64\WintunInstaller_x86_64.msi" >nul 2>&1 || exit /b 1
goto :eof

:success
echo [*] Success.
go version
Expand Down

0 comments on commit c716c15

Please sign in to comment.