mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
Uppercase API (#7577)
This commit is contained in:
@@ -131,11 +131,11 @@ pub fn get_license() -> String {
|
|||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
if let Ok(lic) = crate::platform::windows::get_license_from_exe_name() {
|
if let Ok(lic) = crate::platform::windows::get_license_from_exe_name() {
|
||||||
#[cfg(feature = "flutter")]
|
#[cfg(feature = "flutter")]
|
||||||
return format!("Key: {}\nHost: {}\nApi: {}", lic.key, lic.host, lic.api);
|
return format!("Key: {}\nHost: {}\nAPI: {}", lic.key, lic.host, lic.api);
|
||||||
// default license format is html formed (sciter)
|
// default license format is html formed (sciter)
|
||||||
#[cfg(not(feature = "flutter"))]
|
#[cfg(not(feature = "flutter"))]
|
||||||
return format!(
|
return format!(
|
||||||
"<br /> Key: {} <br /> Host: {} Api: {}",
|
"<br /> Key: {} <br /> Host: {} API: {}",
|
||||||
lic.key, lic.host, lic.api
|
lic.key, lic.host, lic.api
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user