blob: 17bad8eb042fcd6319bdf48758fde68db0335c99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
Install it
----------
Install dependencies:
```
# apt install libgtk-3-dev libappindicator3-dev golang pkg-config
```
Build the systray:
```
$ git clone 0xacab.org/leap/bitmask-systray
$ cd bitmask-systray
$ go get .
$ go build
```
To be able to build the assets you'll need:
```
$ go get -u golang.org/x/text/cmd/gotext github.com/cratonica/2goarray
```
OSX
----------
Using homebrew:
```
$ brew install golang zmq pkg-config
$ brew install --default-names gnu-sed
$ git clone 0xacab.org/leap/bitmask-systray
$ cd bitmask-systray
$ go get .
$ go build
```
Run it
-------------
bitmask-systray assumes that you already have bitmaskd running.
Run bitmask and the systray:
```
$ bitmaskd
$ ./bitmask-systray
```
i18n
----
Generate `locales/*` files:
```
$ make generate_locales LANGS="sjn tlh"
```
Edit the `locales/*/out.gotext.json` translations into `locales/*/messages.gotext.json`.
To rebuild the locales:
```
$ make locales
```
|