The creation of DMG without background image always succeeds.
With background image set it fails most of the time (sometimes rarely succeeds). The error I'm getting is:
Problem running applescript to set dmg background image: 1 78:82: execution error: Finder got an error: Can’t get disk "DiskName". (-1728)
I believe this is due to some kind of racing condition. If you need some extra info, feel free to ask.
Info: OS: High Sierra 10.13.5 (APFS) Gradle Version: 4.8 Plugin Version: 2.2.1
The plugin configuration is as follow. I have a custom background image for the DMG.
The creation of DMG without background image always succeeds. With background image set it fails most of the time (sometimes rarely succeeds). The error I'm getting is:
I believe this is due to some kind of racing condition. If you need some extra info, feel free to ask.