fix bundle id

This commit is contained in:
rustdesk
2025-08-17 15:36:56 +08:00
parent 4e9a370ff6
commit bf24869c6a

View File

@@ -295,11 +295,12 @@ fn update_daemon_agent(agent_plist_file: String, update_source_dir: String, sync
}
fn correct_app_name(s: &str) -> String {
let s = s.replace("rustdesk", &crate::get_app_name().to_lowercase());
let mut s = s.replace("RustDesk", &crate::get_app_name());
let mut s = s.to_owned();
if let Some(bundleid) = get_bundle_id() {
s = s.replace("com.carriez.rustdesk", &bundleid);
}
s = s.replace("rustdesk", &crate::get_app_name().to_lowercase());
s = s.replace("RustDesk", &crate::get_app_name());
s
}