mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-11 05:31:29 +03:00
fix myself
This commit is contained in:
@@ -296,9 +296,9 @@ fn update_daemon_agent(agent_plist_file: String, update_source_dir: String, sync
|
|||||||
|
|
||||||
fn correct_app_name(s: &str) -> String {
|
fn correct_app_name(s: &str) -> String {
|
||||||
let s = s.replace("rustdesk", &crate::get_app_name().to_lowercase());
|
let s = s.replace("rustdesk", &crate::get_app_name().to_lowercase());
|
||||||
let s = s.replace("RustDesk", &crate::get_app_name());
|
let mut s = s.replace("RustDesk", &crate::get_app_name());
|
||||||
if let Some(bundleid) = get_bundle_id() {
|
if let Some(bundleid) = get_bundle_id() {
|
||||||
let s = s.replace("com.carriez.rustdesk", &bundleid);
|
s = s.replace("com.carriez.rustdesk", &bundleid);
|
||||||
}
|
}
|
||||||
s
|
s
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user