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.

feat: open devtool on dev

linonetwo921561eade7d
diff --git a/client-app/src-tauri/src/main.rs b/client-app/src-tauri/src/main.rs
index 824c5f7962..fda37eee05 100644
--- a/client-app/src-tauri/src/main.rs
+++ b/client-app/src-tauri/src/main.rs
@@ -36,6 +36,8 @@ async fn main() {
.hidden_title(true)
.initialization_script(&preload)
.build()?;
+ #[cfg(debug_assertions)]
+ _window.open_devtools();
Ok(())
})
.invoke_handler(commands::invoke_handler())