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; |         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() { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user