diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2022-09-20 17:26:20 +0200 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2022-09-27 21:13:24 +0200 |
| commit | c98298cc2160caa04f5cd93ea84b119617521a25 (patch) | |
| tree | 6b34d4d5434549c64845b08651f92c87048e4dcf | |
| parent | cd3a923fd0730b8da1a4ea55869c1a547e925c56 (diff) | |
| download | mullvadvpn-c98298cc2160caa04f5cd93ea84b119617521a25.tar.xz mullvadvpn-c98298cc2160caa04f5cd93ea84b119617521a25.zip | |
Document protoc dependency
| -rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -320,6 +320,11 @@ storePassword = keystore-password npm install -g npm ``` +1. Install a protobuf compiler (version 3.15.6 and up), it can be installed on most major Linux distros via + the package name `protobuf-compiler`, `protobuf` on macOS via Homebrew, and on Windows binaries + are available on their GitHub [page](https://github.com/protocolbuffers/protobuf/releases) and + they have to be put in `%PATH`. + 1. Install Go (ideally version `1.18`) by following the [official instructions](https://golang.org/doc/install). Newer versions may work too. Since `cgo` is being used, make sure to have a C compiler in your path. [*On @@ -378,11 +383,6 @@ After that copy the files from `gui/src/main/management_interface/` and `gui/build/src/main/management_interface/` directories into a single directory, and set the value of `MANAGEMENT_INTERFACE_PROTO_BUILD_DIR` to that directory while running the main build. -Install `protobuf`. On macOS, this can be done using Homebrew: - -```bash -brew install protobuf -``` When all is done run the main build. Assuming that you copied the proto files into `/tmp/management_interface_proto` directory, the build command will look as follows: |
