diff --git a/.gitignore b/.gitignore index ba7ad24f47..89ab2665af 100644 --- a/.gitignore +++ b/.gitignore @@ -20,8 +20,8 @@ src/json/schema licenses.json # generated by update.sh -/linux-amd64/ -/linux-arm64/ -/darwin-amd64/ -/darwin-arm64/ +/linux-amd*/ +/linux-arm*/ +/darwin-amd*/ +/darwin-arm*/ /windows/ diff --git a/README.md b/README.md index 75937d6e64..168143cccf 100644 --- a/README.md +++ b/README.md @@ -16,12 +16,18 @@ Also, [install `gitleaks`](https://github.com/zricethezav/gitleaks#installing) t Fetch the latest binary from the [github releases](https://github.com/anytypeio/go-anytype-middleware/releases/latest) ```shell -./update.sh +./update.sh # arm/amd only for macos/ubuntu ``` Or compile from the source code. Follow instructions at [`anytype-heart`](https://github.com/anyproto/anytype-heart#how-to-build). -After `./update.sh` downloaded the binary or after compiling it from source, you need to move `anytypeHelper` (`anytypeHelper.exe` for Windows) into the `dist` Folder. +After `./update.sh` downloaded the binary or after compiling it from source, you need to move `anytypeHelper` into the `dist` Folder. + +| OS CPU Type | move command | +|--------------------|-------------------------------------| +| Windows | *already copied to the dist folder* | +| MacOS | `mv darwin-*/anytypeHelper dist/` | +| Linux | `mv linux-*/anytypeHelper dist/` | ### Building