Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add cargo codegen napi more clearly to desktop readme

laurenspriem98fec47696f7
diff --git a/desktop/README.md b/desktop/README.md
index ad60ed5689..8c43ddce39 100644
--- a/desktop/README.md
+++ b/desktop/README.md
@@ -30,6 +30,14 @@ npm ci
npm run postinstall
```
+> [!NOTE]
+>
+> `npm run postinstall` requires a Rust toolchain and initially runs `cargo codegen napi`. When changing the Rust Photos ML code, rebuild the desktop addon manually:
+>
+> ```sh
+> (cd "$(git rev-parse --show-toplevel)/rust" && cargo codegen napi)
+> ```
+
Now you can run in development mode (supports hot reload for the renderer process)
```sh