Hello Alexander, I had forgotten or didn’t know that. I didn’t see it mentioned anywhere in this list thread previously. But there is generally no reason to delete this file. Unless you don’t want it included in a zip or a GitHub project. The icon placement for multiple files with jpackage —mac-dmg-content is determined by the AppleScript. You might remember I had a related bug report. I provided a workaround with slight changes to the code invoking the AppleScript and the AppleScript. You came up with your own fix. I was impressed you did it by just changing the AppleScript but I slightly preferred the placement of my change. Again, if I remember right.
Mike > On Mar 4, 2024, at 9:57 PM, Alexander Matveev <alexander.matv...@oracle.com> > wrote: > > Hi Michael, > > .DS_Store file contains information about icon position and other visual > information on how to display folder. Once osascript configures DMG, Finder > will store these setting in .DS_Store file. If it gets deleted from DMG, DMG > will look like osascript was never run. So, Alan is right with “the > configuration of the DMG appearance actually means configuring the .DS_Store > file in the DMG”. >