diff --git a/Building-binary.md b/Building-binary.md index 1878496..c82d959 100644 --- a/Building-binary.md +++ b/Building-binary.md @@ -58,10 +58,12 @@ If you prefer to compile it manually, follow these steps: - Clone the git repository at [bitwarden/web](https://github.com/bitwarden/web) and checkout the latest release tag (e.g. v2.1.1): ```sh # clone the repository -git clone --recurse-submodules https://github.com/bitwarden/web.git web-vault +git clone https://github.com/bitwarden/web.git web-vault cd web-vault # switch to the latest tag git checkout "$(git tag --sort=v:refname | tail -n1)" +# use the matching jslib commit +git submodule update --init --recursive ``` - Download the patch file from [dani-garcia/bw_web_builds](https://github.com/dani-garcia/bw_web_builds/tree/master/patches) and copy it to the `web-vault` folder.