docs: update docs for build plugins (#3525)

This commit is contained in:
Garfield Lee 2023-08-02 23:32:22 +08:00 committed by GitHub
parent f007e2cecb
commit db1b4d48b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,13 +56,19 @@ yarn install
### Build Native Dependencies
Run the following script. It will build the native module at [`/packages/native`](/packages/native) and build Node.js binding using [NAPI.rs](https://napi.rs/).
This could take a while if you build it for the first time.
This could take a while if you build it for the first time.
Note: use `strip` from system instead of `binutils` if you are runinng MacOS. [see problem here](https://github.com/toeverything/AFFiNE/discussions/2840)
```
yarn workspace @affine/native build
```
### Build Plugins
```
yarn run build:plugins
```
## Debugging the Electron App
You need to run two scripts to run the app in development mode