summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali <kali@win>2020-10-15 18:12:46 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-10-23 23:22:55 +0200
commit4ac0fd8ecfa1bf0aa394c38d5b7f4f60ca23842b (patch)
tree83d6b353c38cd03f96f274382a034833be08b997 /Makefile
parenta540f3f4e5524b5daf813b0bb831707f58545d43 (diff)
[pkg] install tap driver on windows
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9faf55c..5de5d44 100644
--- a/Makefile
+++ b/Makefile
@@ -36,6 +36,8 @@ MACDEPLOYQT_OPTS = -appstore-compliant -qmldir=gui/qml -always-overwrite
SCRIPTS = branding/scripts
TEMPLATES = branding/templates
+TAP_WINDOWS = https://build.openvpn.net/downloads/releases/tap-windows-9.24.2-I601-Win10.exe
+
ifeq ($(PLATFORM), windows)
HAS_QTIFW := $(shell which binarycreator.exe)
else
@@ -131,6 +133,8 @@ ifeq (${PLATFORM}, windows)
@cp "/c/Program Files/OpenVPN/bin/"*.dll ${INST_DATA}
# XXX add sign options
@windeployqt --qmldir gui/qml ${INST_DATA}${TARGET}.exe
+ # TODO stage it to save time
+ @wget ${TAP_WINDOWS} -O ${INST_DATA}/tap-windows.exe
endif
ifeq (${PLATFORM}, linux)
@VERSION=${VERSION} ${SCRIPTS}/gen-qtinstaller linux ${INSTALLER}