fix bundle id
This commit is contained in:
parent
4e9a370ff6
commit
bf24869c6a
1 changed files with 3 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue