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

get it
#3 Product of the DayApril 04, 2017

create-dmg is a command-line app that creates a good-looking DMG for your macOS app in seconds. This process usually requires a lot of manual work and decisions.



You need to become a Contributor to join the discussion - Find out how.
Sindre SorhusMaker@sindresorhus · Maker · macOS Developer · Open-Sourcerer
The other day I needed to distribute one of my macOS apps as a DMG, but all the existing solutions I could find either required a GUI or lots of config. I wanted something that just worked and that could easily be integrated into my build script. This tool intentionally has no options. It just generates a good-looking code signed DMG from your app. Now instead of spending time on a DMG, you can enjoy more time on Product Hunt! Just curious, would anyone be interested in a macOS GUI drag-n-drop kinda app for this?
@sindresorhus You are doing the most awesome Node.js scripts! :D
Mike CoutermarshHiring@mscccc · Code @ GitHub
@sindresorhus I don't develop mac apps, but I'm guessing this is a very common problem that people google for and are willing to pay to solve. 😀
Joshua PinterPro@joshuapinter · Product at CNTRAL. Maker of ntwrk.
@sindresorhus Love this. What would the benefit of a GUI for this be? More options? Like background color, etc.?
Csaba Kissi@csaba_kissi · Developer & maker of Hunter Analysis
@sindresorhus GUI would be great e.g. drag/drop to dock like ImageOptim uses or menu bar application.
Jevin Sew@jevinsew · Rails / iOS developer
@mscccc It's simple and it does the job!
Eon@eonpilot · Swift dev @
Missed this one. Q: how do you get so nice dropshadows in your gif anims? I use photoshop to do it but max 9 sec and limits on size or else it crashes. Thx
Sindre SorhusMaker@sindresorhus · Maker · macOS Developer · Open-Sourcerer
@eonpilot I first record the screen with QuickTime and then import the video into GIF Brewery where I export it with "Optimize GIF colors" using the "Ordered" algorithm. The other algorithms are not able to preserve the shadow. I have yet to find a way to preserve the white color though. You can see the background of the GIF in the readme on GitHub is not purely white like it was recorded. I also sometimes use Photoshop.
Eon@eonpilot · Swift dev @
@sindresorhus I will try your gifbrewery settings tip. If you use photoshop you will get correct white see my blog post on this: But crashes if size or length is too great. 🖖
Christian Montoya@cm0nt0y4 · Maker
I use node-appdmg which is quite simple, only requires a few lines of config to get a sweet custom DMG installer. How is this better/different? And yes, I would love a macOS GUI for this.
Sindre SorhusMaker@sindresorhus · Maker · macOS Developer · Open-Sourcerer
@cm0nt0y4 `appdmg` is used under the hood. It's great at creating DMGs, but it actually requires more than a few lines of config. Closer to 30 lines, and you still have design your own background, which most developers do badly. I feel DMGs should be consistent and simple. That's why I made `create-dmg`. It takes out all the decision-making so you instead can focus on what matters.
Olivier deLamarzelle@tiekks · iOS Lead Dev
Just WOW ! Thank you so much !!
Nate Smith@imns81 · Founder @ Gratify
This is absolutely fantastic, thank you for creating it.