license.rs -> custom_server.rs to remove misunderstanding

This commit is contained in:
rustdesk
2024-02-26 18:05:54 +08:00
parent 749a1d2da2
commit c8392a714c
3 changed files with 30 additions and 30 deletions

View File

@@ -341,7 +341,7 @@ pub fn core_main() -> Option<Vec<String>> {
} else {
format!("{}.exe", args[1])
};
if let Ok(lic) = crate::license::get_license_from_string(&name) {
if let Ok(lic) = crate::custom_server::get_custom_server_from_string(&name) {
if !lic.host.is_empty() {
crate::ui_interface::set_option("key".into(), lic.key);
crate::ui_interface::set_option(