sindresorhus / create-dmg

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Script fails when Rosetta is not installed

Wouter01 opened this issue · comments

When Rosetta has not yet been isntalled on an Apple Silicon mac, the script will fail with the incorrect error:
✖ Code signing failed. The DMG is fine, just not code signed.

This happens because seticon tool is Intel-only and is run in the same try block as the codesigning, thus it gives the incorrect error.