base64 icon only for sciter

This commit is contained in:
rustdesk
2023-02-11 00:21:19 +08:00
parent de29ce8d45
commit d416d7d965
5 changed files with 18 additions and 16 deletions

View File

@@ -588,11 +588,6 @@ async fn check_software_update_() -> hbb_common::ResultType<()> {
Ok(())
}
#[cfg(not(any(target_os = "android", target_os = "ios", feature = "cli")))]
pub fn get_icon() -> String {
hbb_common::config::ICON.to_owned()
}
pub fn get_app_name() -> String {
hbb_common::config::APP_NAME.read().unwrap().clone()
}
@@ -772,4 +767,4 @@ pub fn handle_url_scheme(url: String) {
log::debug!("Send the url to the existing flutter process failed, {}. Let's open a new program to handle this.", err);
let _ = crate::run_me(vec![url]);
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -100,7 +100,7 @@ impl SciterConnectionManager {
}
fn get_icon(&mut self) -> String {
crate::get_icon()
super::get_icon()
}
fn check_click_time(&mut self, id: i32) {

View File

@@ -486,7 +486,7 @@ impl SciterSession {
}
pub fn get_icon(&self) -> String {
crate::get_icon()
super::get_icon()
}
fn supported_hwcodec(&self) -> Value {