Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

fix: import tauri::Manager in non-macOS close handler for app_handle()

nash_sufa1ca2d35a87
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 1bd1a646..245a160d 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -37,6 +37,7 @@ pub fn run() {
#[cfg(not(target_os = "macos"))]
{
+ use tauri::Manager;
api.prevent_close();
let win = window.clone();
let app = window.app_handle().clone();