mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2025-04-28 22:25:07 +03:00
Download wintun on first pass
This commit is contained in:
parent
8621223a1f
commit
38e05b5f4c
1 changed files with 16 additions and 13 deletions
|
@ -74,6 +74,8 @@ PKGVERSIONMS=$(echo $PKGVERSION | tr - .)
|
||||||
PKGGUID="54a3294e-a441-4322-aefb-3bb40dd022bb" PKGINSTFOLDER="ProgramFilesFolder"
|
PKGGUID="54a3294e-a441-4322-aefb-3bb40dd022bb" PKGINSTFOLDER="ProgramFilesFolder"
|
||||||
|
|
||||||
# Download the Wintun driver
|
# Download the Wintun driver
|
||||||
|
if [ ! -d wintun ];
|
||||||
|
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
|
if [ $PKGARCH = "x64" ]; then
|
||||||
|
@ -88,6 +90,7 @@ else
|
||||||
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)"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue