sindresorhus / create-dmg

Create a good-looking DMG for your macOS app in seconds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DMG Icon is blurry

zachgibson opened this issue · comments

My custom DMG icon is blurry for some versions. I’ve added all the right resolution icons in my Assets.xcassets AppIcon. If I mount the DMG, the icon looks perfect.

image
image

Hi @zachgibson, can you provide an example icon set with which I can reproduce the error, thanks!

I was looking at this issue, running create-dmg on a private personal project.

Looks like in the case of that app:

  • the AppIcon.icns file in the app bundle only contains sizes up to 256x256
  • the Assets.car file in the app bundle contains all sizes, including the biggest, 1024x1024

If this is how Xcode builds apps now, this would explain why create-dmg—which reads the AppIcon.icns file as a source—doesn't generate larger sizes.