How to create a DMG file for .app for Mac.?
This is a subjective problem, but .dmg is a good and popular way to distribute applications - the user double-clicks and drags the application, removes it in the same way as a USB drive.
You can get applications to help you build them, but it's not too difficult with Disk Utility, you just need to mess around a bit to make it look beautiful. Here is one way to do this:
- Use Disk Utility to create a new empty sparse disk image
- Double-click the image to open it.
- Copy your application into the image.
- Link to / Applications in the picture.
- Hide toolbar / sidebar / etc. optional.
- Using the viewing options, always set one in icon mode.
- Also add a background image if you like to use viewing options. Background images often contain text such as "Drag and drop the application into the application." Arrange the application and application icons according to the background image.
- In another Finder window, remove the sparse bundle.
- In Disk Utility, use Images → Convert ... to convert a sparse package to read-only DMG.
NTN
source share