Replies: 1 comment 2 replies
-
I've tried to reproduce this in one of my projects but I can't see any evidence that resizetizer is doing anything at all. Should I see something in the build output/logs? Do you also need to set the info.plist for the icon or does MauiIcon handle this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using the
net8.0-macos
TFM creates a macOS app package for Avalonia. However in order to create an icon one has to manually create the images in multiple sizes and run a tool to create a.icns
file. MAUI has a way to create an app icon from SVG, including all the necessary PNGs and.plist
updates. I've managed to make both of them work together, so I thought you may want to publish this as a NuGet to assist others.Caveat - is is a bit hacky.
Microsoft.Maui.Resizetizer
package..appiconset
path should match the SVG filename:A similar solution might work for icon bundling in other platforms.
Beta Was this translation helpful? Give feedback.
All reactions