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 preload before first run

linonetwo3d78301805c0
diff --git a/client-app/package.json b/client-app/package.json
index b24c87d4a9..8198ed96c7 100644
--- a/client-app/package.json
+++ b/client-app/package.json
@@ -6,7 +6,7 @@
"license": "MPL-2.0",
"module": "true",
"scripts": {
- "dev:app": "cross-env NODE_ENV=development tauri dev",
+ "dev:app": "pnpm build:preload && cross-env NODE_ENV=development tauri dev",
"dev:prerequisite": "concurrently \"cd ../packages/data-center && pnpm dev\" \"cd ../packages/app && pnpm dev\"",
"build:prerequisite": "pnpm build:submodules && pnpm build:rs-types && pnpm build:affine && pnpm build:preload",
"dev:web": "vite",