mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 18:09:58 +08:00
docs: update docs for build plugins (#3525)
This commit is contained in:
+7
-1
@@ -56,13 +56,19 @@ yarn install
|
|||||||
### Build Native Dependencies
|
### 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/).
|
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)
|
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
|
yarn workspace @affine/native build
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Build Plugins
|
||||||
|
|
||||||
|
```
|
||||||
|
yarn run build:plugins
|
||||||
|
```
|
||||||
|
|
||||||
## Debugging the Electron App
|
## Debugging the Electron App
|
||||||
|
|
||||||
You need to run two scripts to run the app in development mode
|
You need to run two scripts to run the app in development mode
|
||||||
|
|||||||
Reference in New Issue
Block a user