Forked from
leap / bitmask-vpn
830 commits behind the upstream repository.
-
Kali Kaneko authoredKali Kaneko authored
README.md 3.20 KiB
Install it
Install dependencies:
# make depends
Build the systray:
$ git clone 0xacab.org/leap/bitmask-vpn && cd bitmask-vpn
$ make build
You need at least go 1.11. If you have something older and are using ubuntu, you can do:
make install_go
For other situations, have a look at https://github.com/golang/go/wiki/Ubuntu or https://golang.org/dl/
OSX
Using homebrew:
$ git clone 0xacab.org/leap/bitmask-vpn && cd bitmask-vpn
$ make depends
$ make build
Linux
Building the systray in linux will produce some -Wdeprecated-declarations
warnings, like that:
cgo-gcc-prolog: In function ‘_cgo_3f9f61f961c9_Cfunc_gtk_font_button_get_font_name’:
cgo-gcc-prolog:5455:2: warning: ‘gtk_font_button_get_font_name’ is deprecated [-Wdeprecated-declarations]
In file included from /usr/include/gtk-3.0/gtk/gtk.h:106:0,
from ../../../go/src/github.com/gotk3/gotk3/gtk/gtk.go:48:
/usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here
const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
They are expected and don't produce any problem on the systray.
Run it
The default build is a standalone systray. It still requires a helper and openvpn installed to work. For linux the helper is bitmask-root for windows and OSX there is a helper written in go.
To build and run it:
$ make build
$ build/bin/bitmask-vpn