5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-24 19:31:36 +00:00

Fix wintun hopefully

This commit is contained in:
Neil Alexander 2021-06-13 11:13:02 +01:00
parent 38e05b5f4c
commit 9b68ac5702

View File

@ -78,6 +78,7 @@ if [ ! -d wintun ];
then then
curl -o wintun.zip https://www.wintun.net/builds/wintun-0.11.zip curl -o wintun.zip https://www.wintun.net/builds/wintun-0.11.zip
unzip wintun.zip unzip wintun.zip
fi
if [ $PKGARCH = "x64" ]; then if [ $PKGARCH = "x64" ]; then
PKGWINTUNDLL=wintun/bin/amd64/wintun.dll PKGWINTUNDLL=wintun/bin/amd64/wintun.dll
elif [ $PKGARCH = "x86" ]; then elif [ $PKGARCH = "x86" ]; then
@ -90,7 +91,6 @@ then
echo "wasn't sure which architecture to get wintun for" echo "wasn't sure which architecture to get wintun for"
exit 1 exit 1
fi fi
fi
if [ $PKGNAME != "master" ]; then if [ $PKGNAME != "master" ]; then
PKGDISPLAYNAME="Yggdrasil Network (${PKGNAME} branch)" PKGDISPLAYNAME="Yggdrasil Network (${PKGNAME} branch)"