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: add linux webkit startup compatibility
nash_su1eb72adc71ff
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rsindex 05ba2c5e..9fef26a0 100644--- a/src-tauri/src/lib.rs+++ b/src-tauri/src/lib.rs@@ -546,6 +546,8 @@ fn tray_available<R: tauri::Runtime>(window: &tauri::Window<R>) -> bool {#[cfg_attr(mobile, tauri::mobile_entry_point)]pub fn run() {+ apply_linux_webkit_compat_env();+tauri::Builder::default().plugin(tauri_plugin_opener::init()).plugin(tauri_plugin_dialog::init())@@ -748,3 +750,18 @@ pub fn run() {let _ = (app, event); // suppress unused warnings on non-macOS});}++#[cfg(target_os = "linux")]+fn apply_linux_webkit_compat_env() {+ // WebKitGTK can crash during startup on some Wayland compositors+ // (reported on Fedora 44) unless compositing mode is disabled before+ // the WebView is created. Keep this as a Linux-only default and do not+ // override an explicit user setting so advanced users and packagers can+ // opt back into the platform default if their stack supports it.+ if std::env::var_os("WEBKIT_DISABLE_COMPOSITING_MODE").is_none() {+ std::env::set_var("WEBKIT_DISABLE_COMPOSITING_MODE", "1");+ }+}++#[cfg(not(target_os = "linux"))]+fn apply_linux_webkit_compat_env() {}