From 225495e1d45baa0d42d8285e8dc78ae1c605c654 Mon Sep 17 00:00:00 2001 From: Mathijs van Veluw Date: Mon, 22 Feb 2021 18:41:46 +0100 Subject: [PATCH] Updated Building binary (markdown) --- Building-binary.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Building-binary.md b/Building-binary.md index a8d6ae1..4d5b8de 100644 --- a/Building-binary.md +++ b/Building-binary.md @@ -77,11 +77,12 @@ git apply vX.Y.Z.patch - Then, build the Vault: ```sh -npm run sub:init npm install +# Read the note below (we do use this for our docker builds). +# npm audit fix npm run dist ``` -*Note: You might be asked to run ```npm audit fix``` to fix vulnerability. This will automatically try to upgrade packages to newer version, which might not be compatible and break web-vault functionality``` Use it at your own risk, if you know what you are doing.* +*Note: You might be asked to run ```npm audit fix``` to fix vulnerability. This will automatically try to upgrade packages to newer version, which might not be compatible and break web-vault functionality``` Use it at your own risk, if you know what you are doing. We do use this on our own releases btw!* Finally copy the contents of the `build` folder into the destination folder: - If you run with `cargo run --release`, it's `bitwarden_rs/web-vault`.