mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-12-01 01:29:02 +08:00
fix custom tray of mac
This commit is contained in:
parent
30af020ba8
commit
30f84e78e1
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user