5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-24 18:21:37 +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,18 +78,18 @@ 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
if [ $PKGARCH = "x64" ]; then fi
PKGWINTUNDLL=wintun/bin/amd64/wintun.dll if [ $PKGARCH = "x64" ]; then
elif [ $PKGARCH = "x86" ]; then PKGWINTUNDLL=wintun/bin/amd64/wintun.dll
PKGWINTUNDLL=wintun/bin/x86/wintun.dll elif [ $PKGARCH = "x86" ]; then
elif [ $PKGARCH = "arm" ]; then PKGWINTUNDLL=wintun/bin/x86/wintun.dll
PKGWINTUNDLL=wintun/bin/arm/wintun.dll elif [ $PKGARCH = "arm" ]; then
#elif [ $PKGARCH = "arm64" ]; then PKGWINTUNDLL=wintun/bin/arm/wintun.dll
# PKGWINTUNDLL=wintun/bin/arm64/wintun.dll #elif [ $PKGARCH = "arm64" ]; then
else # PKGWINTUNDLL=wintun/bin/arm64/wintun.dll
echo "wasn't sure which architecture to get wintun for" else
exit 1 echo "wasn't sure which architecture to get wintun for"
fi exit 1
fi fi
if [ $PKGNAME != "master" ]; then if [ $PKGNAME != "master" ]; then