This creates a distributable image for you. Select the folder where you have placed the App. Open Disk Utility -> File -> New Image -> Image From Folder. You don't need any external tools for this. GraphicsMagick is required to create the custom DMG icon that's based on the app icon and the macOS mounted device icon. If you dont need any introduction, readme etc, the best option is to create a DMG. usr/bin/rez (from Command Line Tools for Xcode) must be installed.
The image will not be mounted unless the user indicates agreement with the license. If either license.txt, license.rtf, or sla.r ( raw SLAResources file) are present in the same directory as the app, it will be added as a software agreement when opening the image. Important: Don't forget to notarize your DMG. It will try to code sign the DMG, but the DMG is still created and fine even if the code signing fails, for example if you don't have a developer certificate. The resulting image has the filename App Name 0.0.0.dmg, for example Lungo 1.0.0.dmg. The DMG detects the minimum runtime of the app, and uses ULFO (macOS 10.11 or later) or UDZO as appropriate. dmg-title= Manually set DMG title (must be <=27 characters) identity= Manually set code signing identity (automatic by default) overwrite Overwrite existing DMG with the same name