We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c405205 commit 7a1ea2bCopy full SHA for 7a1ea2b
cli.js
@@ -79,6 +79,10 @@ async function init() {
79
}
80
81
const appName = appInfo.CFBundleDisplayName || appInfo.CFBundleName;
82
+ if (!appName) {
83
+ throw new Error('The app must have `CFBundleDisplayName` or `CFBundleName` defined in its `Info.plist`.');
84
+ }
85
+
86
const dmgTitle = cli.flags.dmgTitle || appName;
87
const dmgPath = path.join(destinationPath, `${appName} ${appInfo.CFBundleShortVersionString}.dmg`);
88
0 commit comments