diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-08 06:20:50 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-03-08 19:05:39 +0100 |
commit | fcea7828ca526a17009ad2223df4e4a20645f18a (patch) | |
tree | 05ab5ef70bc4fede837dee2a4660a505252437ff | |
parent | ui: style (diff) | |
download | wireguard-windows-fcea7828ca526a17009ad2223df4e4a20645f18a.tar.xz wireguard-windows-fcea7828ca526a17009ad2223df4e4a20645f18a.zip |
build: mirror the less reliable ones
Diffstat (limited to '')
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build.bat | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -8,7 +8,7 @@ Nothing to see here yet. Come back later. ### Building on Windows -The build script will take care of downloading (without verification) and installing Go 1.12 and Mingw. +The build script will take care of downloading (without verification) and installing Go 1.12, Mingw, and Patch. ``` C:\Projects> git clone https://git.zx2c4.com/wireguard-windows @@ -10,9 +10,11 @@ if exist deps\.prepared goto :build echo Downloading golang curl -#fo go.zip https://dl.google.com/go/go1.12.windows-amd64.zip || goto :error echo Downloading mingw - curl -#fo mingw.zip https://musl.cc/x86_64-w64-mingw32-native.zip || goto :error + rem Mirror of https://musl.cc/x86_64-w64-mingw32-native.zip + curl -#fo mingw.zip https://download.wireguard.com/windows-toolchain/distfiles/x86_64-w64-mingw32-native-20190307.zip || goto :error echo Downloading patch - curl -L#fo patch.zip https://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip || goto :error + rem Mirror of https://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/patch-2.5.9-7-bin.zip + curl -#fo patch.zip https://download.wireguard.com/windows-toolchain/distfiles/patch-2.5.9-7-bin.zip || goto :error echo Extracting golang tar -xf go.zip || goto :error echo Extracting mingw |