mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-05 17:41:30 +03:00
fix custom tray of mac
This commit is contained in:
@@ -210,7 +210,7 @@ fn load_icon_from_asset() -> Option<image::DynamicImage> {
|
|||||||
return None;
|
return None;
|
||||||
};
|
};
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
let path = path.join("../Resources/AppIcon.icns");
|
let path = path.join("../Frameworks/App.framework/Resources/flutter_assets/assets/icon.png");
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
let path = path.join(r"data\flutter_assets\assets\icon.png");
|
let path = path.join(r"data\flutter_assets\assets\icon.png");
|
||||||
if path.exists() {
|
if path.exists() {
|
||||||
|
|||||||
Reference in New Issue
Block a user