mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-14 12:07:35 +00:00
make config in exe name has highest priority, also overwrite config if
installation, https://github.com/rustdesk/rustdesk-server-pro/issues/21#issuecomment-1638259580, not tested yet
This commit is contained in:
@@ -118,7 +118,7 @@ pub fn show_run_without_install() -> bool {
|
||||
#[inline]
|
||||
pub fn get_license() -> String {
|
||||
#[cfg(windows)]
|
||||
if let Some(lic) = crate::platform::windows::get_license() {
|
||||
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);
|
||||
// default license format is html formed (sciter)
|
||||
|
||||
Reference in New Issue
Block a user