fix custom tray of mac

This commit is contained in:
rustdesk 2024-03-24 22:17:40 +08:00
parent 30af020ba8
commit 30f84e78e1

View File

@ -210,7 +210,7 @@ fn load_icon_from_asset() -> Option<image::DynamicImage> {
return None;
};
#[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)]
let path = path.join(r"data\flutter_assets\assets\icon.png");
if path.exists() {