macos-dmg-packaging
Installation
SKILL.md
macOS DMG Packaging
Use this skill when a user asks to create, improve, debug, or release a macOS .dmg installer. It covers Tauri/create-dmg based installers and general Finder layout issues.
Core model
A DMG has two separate concerns:
- The payload: the
.app,/Applicationssymlink, and.background/<file>. - Finder presentation:
.DS_Storerecords controlling the window, icon positions, icon size, arrangement, and background image alias.
Do not assume that a background file being present means Finder will display it. For a picture background, the final .DS_Store must contain an icvp record with a valid backgroundImageAlias and a picture backgroundType (normally 2). backgroundType=0 is a color/plain background. A nonzero type without a valid alias is still insufficient.