Uppercase API (#7577)

This commit is contained in:
XLion 2024-04-02 11:44:27 +08:00 committed by GitHub
parent de65c8b2cf
commit 58fe95d6fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -131,11 +131,11 @@ pub fn get_license() -> String {
#[cfg(windows)]
if let Ok(lic) = crate::platform::windows::get_license_from_exe_name() {
#[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)
#[cfg(not(feature = "flutter"))]
return format!(
"<br /> Key: {} <br /> Host: {} Api: {}",
"<br /> Key: {} <br /> Host: {} API: {}",
lic.key, lic.host, lic.api
);
}