summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorkali <kali@win>2018-07-03 01:52:06 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2018-07-03 01:59:58 +0200
commitebe388f57a4f39748f4814b7d37544bcd8f76afc (patch)
treea97689535431ed85419331ca9f0a97cdd42d8a84 /Makefile
parentade90be44d10cad7f43fd89130bb99b019f6545e (diff)
add tap-installer
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 3700872..3a6cebe 100755
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,8 @@ deps_win:
choco install -y golang python upx nssm nsis wget 7zip
openvpn_win:
mkdir staging\openvpn
+ wget https://build.openvpn.net/downloads/releases/latest/tap-windows-latest-stable.exe -O staging/openvpn/tap-windows.exe
+ # eventually, this should be built statically and cross compiled in the same pipeline that we build the installer.
wget https://downloads.leap.se/thirdparty/windows/openvpn-x86_64-w64-mingw32.tar.bz2 -O staging/openvpn/openvpn.tar.bz2
7z e -y -ostaging/openvpn/ staging/openvpn/openvpn.tar.bz2
7z e -y -r -ostaging/openvpn/ staging/openvpn/openvpn.tar *.dll
@@ -18,11 +20,12 @@ systray_win:
go get -u $(SYSTRAY)
go build -tags "standalone" -ldflags "-H windowsgui -s -w" -o $(STAGING)/bitmask-systray.exe $(SYSTRAY)
build_win: helper_win systray_win
+ # since it's tedious, I assume you did bootstrap openvpn_win manually already.
echo "[+] building windows"
if not exist dist mkdir dist
make -C win
"C:\Program Files (x86)\NSIS\makensis.exe" win/RiseupVPN-installer.nsi
build_osx:
- echo "[+] building osx"
+ echo "[+] building osx..."
build_snap:
- echo "[+] building snap"
+ echo "[+] building snap..."