feat: stabilize external mcp appimage registration

Co-authored-by: Domenico Lupinetti <domenico@translated.net>
This commit is contained in:
lucaronin
2026-05-14 15:22:47 +02:00
parent 3b2f675264
commit 62e62790c1
9 changed files with 652 additions and 15 deletions

View File

@@ -58,6 +58,11 @@ where
.any(|key| get_var(key).is_some_and(|value| !value.trim().is_empty()))
}
#[cfg(all(desktop, target_os = "linux"))]
pub(crate) fn is_running() -> bool {
is_linux_appimage_launch(|key| std::env::var(key).ok())
}
fn should_disable_unstable_webkit_rendering<F>(get_var: &mut F) -> bool
where
F: FnMut(&str) -> Option<String>,