mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-02-17 14:07:28 +08:00
fix bundle id
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user