问题
I using the desktop flutter and i searched for a way to do that i couldnt find any articles about that sp ii want to know how to change the launcher app icon for windows desktop and also for mac and linux.
回答1:
To change the icon you just need to replace the icon file in your project:
- Windows: windows/runner/resources/app_icon.ico
- macOS: macos/Runner/Assets.xcassets/AppIcon.appiconset
Linux doesn't have an icon set up in the template yet; you can follow this issue for updates.
来源:https://stackoverflow.com/questions/64558578/how-to-change-desktop-windows-application-icon-for-flutter