Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: build affine before build tauri

linonetwof01e0cd733b1
diff --git a/client-app/src-tauri/tauri.conf.json b/client-app/src-tauri/tauri.conf.json
index 160f7e2e5a..677d79f0ab 100644
--- a/client-app/src-tauri/tauri.conf.json
+++ b/client-app/src-tauri/tauri.conf.json
@@ -1,7 +1,7 @@
{
"build": {
"beforeDevCommand": "pnpm dev:prerequisite",
- "beforeBuildCommand": "pnpm build:web",
+ "beforeBuildCommand": "pnpm build:web && pnpm build:affine && pnpm build:preload",
"devPath": "http://localhost:8080",
"distDir": "../dist",
"withGlobalTauri": false