mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-05 16:38:17 +00:00
fix some minors of custom client
This commit is contained in:
1 parent
228582296c
commit
a9b0bc0409
8 files changed
+100
-99
No files matched your search
+1
-1
@@ -207,7 +207,7 @@ async fn start_query_session_count(sender: std::sync::mpsc::Sender<Data>) {
|
||||
fn load_icon_from_asset() -> Option<image::DynamicImage> {
|
||||
#[cfg(windows)]
|
||||
if let Ok(cmd) = std::env::current_exe() {
|
||||
let path = r".\data\flutter_assets\assets\icon.ico";
|
||||
let path = r".\data\flutter_assets\assets\icon.png";
|
||||
if let Some(path) = cmd.parent().map(|x| x.join(path)) {
|
||||
if path.exists() {
|
||||
if let Ok(image) = image::open(path) {
|
||||
|
||||
Reference in new issue
Block a user