sindresorhus / create-dmg

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error: data.title is required

juniordiscart opened this issue · comments

Whenever I attempt to create a dmg with the simplest command create-dmg Launcher.app it throws the error that data.title is required.

When specifying the --dmg-title=Launcher.dmg option, it will work, but creates a dmg file that does not have the specified name, but rather undefined undefined.dmg.

Does the Info.plist have a CFBundleDisplayName or CFBundleName key? create-dmg assumes it has a name.

That seems to be the problem indeed. The app I'm trying to create an installer for is a third-party launcher application for our own app, which doesn't have these values set. So I wasn't aware of these values.

Thanks for the quick reply!

I've improved the error message: 7a1ea2b