diff --git a/packages/desktop/src/protocol.rs b/packages/desktop/src/protocol.rs index cc084b403..a544aa305 100644 --- a/packages/desktop/src/protocol.rs +++ b/packages/desktop/src/protocol.rs @@ -104,10 +104,10 @@ fn get_asset_root() -> Option { #[cfg(target_os = "macos")] { let bundle = core_foundation::bundle::CFBundle::main_bundle(); - let bundle_path = dbg!(bundle.path()?); - let resources_path = dbg!(bundle.resources_path()?); - let absolute_resources_root = dbg!(bundle_path.join(resources_path)); - let canonical_resources_root = dbg!(dunce::canonicalize(absolute_resources_root).ok()?); + let bundle_path = bundle.path()?; + let resources_path = bundle.resources_path()?; + let absolute_resources_root = bundle_path.join(resources_path); + let canonical_resources_root = dunce::canonicalize(absolute_resources_root).ok()?; return Some(canonical_resources_root); }