Skip to content

Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.

fix(desktop): allow dead_code on mac::shell::run when updater is gated

Jochen Kirstätter0b37495d857f
diff --git a/desktop/app/src/mac/shell.rs b/desktop/app/src/mac/shell.rs
index 185f34d..750e344 100644
--- a/desktop/app/src/mac/shell.rs
+++ b/desktop/app/src/mac/shell.rs
@@ -34,6 +34,7 @@ pub fn is_url_scheme_registered(scheme: &str) -> bool {
}
/// Starts a program with arguments via `open` or direct process spawn.
+#[allow(dead_code)]
pub fn run(program: &Path, arguments: &str) -> Result<(), String> {
let mut cmd = std::process::Command::new(program);
if !arguments.is_empty() {