sindresorhus / create-dmg

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Created DMG name?

IgorAnohin opened this issue · comments

Hello!

What do you think about the new option to write generated .dmg filename to console?
For example:

✔ DMG mydmg.dmg created

instead of

✔ DMG created

It might be very useful and more informative.
If you agree with this, I can try to create PR :)

In what way is it useful?

It may help to get the name of generated .dmg from other scripts.
I use your util in .sh script. Unfortunately, I have no info about the name of the output file.

Do you know any sideway how to get it without parsing Info.plist file?

Why am I using your util in .sh script?

I create .dmg file with your util and notarize generated file. I want to automatize this process by .sh script.

Thanks, that makes sense.

Although, you could just glob for *.dmg. That would be better than trying to parse a random unstable output.