mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +00:00
chore: correct the wrong file path in building doc (#14145)
When I read the [building-desktop-client-app.md](https://github.com/toeverything/AFFiNE/blob/canary/docs/building-desktop-client-app.md) to build Artifacts locally, I find there have some legacy path due to some project structure updates. So this is a litte fix to correct the unmatched path in the doc. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Updated desktop client app building documentation to reflect changes in the project structure and configuration setup. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -18,7 +18,7 @@ Building the desktop client app for the moment is a bit more complicated than bu
|
|||||||
|
|
||||||
1. `packages/frontend/core`: the web app
|
1. `packages/frontend/core`: the web app
|
||||||
2. `packages/frontend/native`: the native modules written in Rust (mostly the sqlite bindings)
|
2. `packages/frontend/native`: the native modules written in Rust (mostly the sqlite bindings)
|
||||||
3. `packages/frontend/electron`: the Electron app (containing main & helper process, and the electron entry point in `packages/frontend/electron-renderer`)
|
3. `packages/frontend/apps/electron`: the Electron app (containing main & helper process, and the electron entry point in `packages/frontend/apps/electron-renderer`)
|
||||||
|
|
||||||
#3 is dependent on #1 and #2, and relies on electron-forge to make the final app & installer. To get a deep understanding of how the desktop client app is built, you may want to read the workflow file in [release-desktop.yml](/.github/workflows/release-desktop.yml).
|
#3 is dependent on #1 and #2, and relies on electron-forge to make the final app & installer. To get a deep understanding of how the desktop client app is built, you may want to read the workflow file in [release-desktop.yml](/.github/workflows/release-desktop.yml).
|
||||||
|
|
||||||
@@ -91,7 +91,7 @@ yarn install
|
|||||||
|
|
||||||
#### Mac & Linux
|
#### Mac & Linux
|
||||||
|
|
||||||
Note: you need to comment out `osxSign` and `osxNotarize` in `forge.config.js` to skip signing and notarizing the app.
|
Note: you need to comment out `osxSign` and `osxNotarize` in `forge.config.mjs` to skip signing and notarizing the app.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
BUILD_TYPE=canary SKIP_WEB_BUILD=1 HOIST_NODE_MODULES=1 yarn affine @affine/electron make
|
BUILD_TYPE=canary SKIP_WEB_BUILD=1 HOIST_NODE_MODULES=1 yarn affine @affine/electron make
|
||||||
|
|||||||
Reference in New Issue
Block a user