sindresorhus / create-dmg

Create a good-looking DMG for your macOS app in seconds
MIT License
4.72k stars 196 forks source link

Created DMG name? #55

Closed IgorAnohin closed 4 years ago

IgorAnohin commented 4 years ago

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 :)

sindresorhus commented 4 years ago

In what way is it useful?

IgorAnohin commented 4 years ago

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?

IgorAnohin commented 4 years ago

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.

sindresorhus commented 4 years ago

Thanks, that makes sense.

sindresorhus commented 4 years ago

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