@@ -181,15 +181,6 @@ In addition to the above requirements:
181181 The environment can also be set up in bash by sourcing ` vcvars.sh ` : ` . ./scripts/vcvars.sh ` . Note
182182 that that script assumes that you're running VS 2022 Community.
183183
184- - ` grpc-tools ` currently doesn't include ARM builds. The x64 binaries must be installed to build
185- the Electron app:
186-
187- ```
188- pushd desktop/packages/mullvad-vpn
189- npm install --target_arch=x64 grpc-tools
190- popd
191- ```
192-
193184## macOS
194185
195186The host has to have the following installed:
@@ -237,39 +228,7 @@ TARGETS="aarch64-pc-windows-msvc" ./build.sh
237228
238229## Notes on building on ARM64 Linux hosts
239230
240- Due to inability to build the management interface proto files on ARM64 (see
241- [ this] ( https://github.com/grpc/grpc-node/issues/1497 ) issue), building on ARM64 must be done in
242- 2 stages:
243-
244- 1 . Build management interface proto files on another platform than arm64 Linux
245- 2 . Use the built proto files during the main build by setting the
246- ` MANAGEMENT_INTERFACE_PROTO_BUILD_DIR ` environment variable to the path the proto files
247-
248- To build the management interface proto files there is a script (execute it on another platform than
249- ARM64 Linux):
250-
251- ``` bash
252- cd desktop
253- npm ci -w mullvad-vpn
254- npm run -w mullvad-vpn build-proto
255- ```
256-
257- After that copy the files from the following directories into a single directory:
258- ```
259- desktop/packages/mullvad-vpn/src/main/management_interface/
260- desktop/packages/mullvad-vpn/build/src/main/management_interface/
261- ```
262- Set the value of ` MANAGEMENT_INTERFACE_PROTO_BUILD_DIR ` to that directory while running the main
263- build.
264-
265- When all is done, run the main build. Assuming that you copied the proto files into
266- ` /tmp/management_interface_proto ` directory, the build command will look as follows:
267-
268- ``` bash
269- MANAGEMENT_INTERFACE_PROTO_BUILD_DIR=/tmp/management_interface_proto ./build.sh --dev-build
270- ```
271-
272- On Linux, you may also have to specify ` USE_SYSTEM_FPM=true ` to generate the deb/rpm packages.
231+ You may have to specify ` USE_SYSTEM_FPM=true ` to generate the deb/rpm packages.
273232
274233# Building and running mullvad-daemon
275234
0 commit comments