blob: 252655351c08767a60a60a22f50e989e14246cfc (plain
# [WireGuard](https://www.wireguard.com/) for Windows
Nothing to see here yet. Come back later.
- [Wintun](https://git.zx2c4.com/wintun) (at runtime)
- [Go ≥1.12.2](https://golang.org/) (for compilation)
- [Mingw](http://www.mingw.org/) (for compilation)
- [Signtool](https://docs.microsoft.com/sl-si/windows/desktop/SecCrypto/signtool) (for signing)
### Building on Windows
The build script will take care of downloading, verifying, and extracting the right versions of Go and Mingw:
C:\Projects> git clone https://git.zx2c4.com/wireguard-windows
C:\Projects> cd wireguard-windows
### Building on Linux
You must first have Go and Mingw installed.
$ sudo apt install mingw-w64 golang-go
$ git clone https://git.zx2c4.com/wireguard-windows
$ cd wireguard-windows
After you've built the application, run `amd64\wireguard.exe` to install the manager service and show the UI.
### Signing Binaries
Add a file called `sign.bat` in the root of this repository with these contents, or similar:
After, run `build.bat` as usual, from a shell that has `signtool.exe` in its `PATH`.