fix(service): adopt IPC 2.7.3 and correct dev fallback handling

This commit is contained in:
wonfen
2026-09-22 17:37:26 +08:00
parent ed0b801573
commit fd06fbb3b7
6 changed files with 145 additions and 33 deletions
+1 -1
View File
@@ -491,7 +491,7 @@ fn escape_osascript_double_quoted_string(value: &str) -> String {
value.replace('\\', "\\\\").replace('"', "\\\"")
}
#[cfg(any(target_os = "macos", test))]
#[cfg(target_os = "macos")]
fn shell_single_quote(value: &str) -> String {
format!("'{}'", value.replace('\'', r"'\''"))
}