<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@DengXian";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">Hi Michael,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">.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 “</span><span style="font-size:11.0pt">the configuration of the DMG appearance actually means configuring the .DS_Store file in the DMG</span><span style="font-size:11.0pt">”.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">Alexander<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Michael Hall <mik3hall@gmail.com><br>
<b>Date: </b>Monday, March 4, 2024 at 7:44</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">PM<br>
<b>To: </b>Alan Snyder <fishgarage@cbfiddle.com><br>
<b>Cc: </b>Alexander Matveev <alexander.matveev@oracle.com>, core-libs-dev@openjdk.org <core-libs-dev@openjdk.org><br>
<b>Subject: </b>[External] : Re: jpackage requests permission via a dialog<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt">I’m not following what the .DS_Store file has to do with anything, other than being a Mac feature that’s occasionally a nuisance when the files end up in zip’s or elsewhere where
you don’t want them. <br>
<br>
I’m also not sure if that was my explanation or Alexander’s you’re talking about. Using the osascript to run the dmg gives the dmg a look more like other distributed macOS applications.
<br>
<br>
If that doesn’t matter to you then you could use jpackage to create a standalone app image and hdiutil a dmg for it. Opening it will show the files, period. Or use Disk Utility to create a dmg would also work. I’ve done that sometimes. Then you don’t have to
remember the hdiutil command line usage. <br>
<br>
> On Mar 4, 2024, at 5:50</span><span style="font-size:11.0pt;font-family:"Arial",sans-serif"> </span><span style="font-size:11.0pt">PM, Alan Snyder <javalists@cbfiddle.com> wrote:<br>
> <br>
> Thank you for the explanation.<br>
> <br>
> It was not obvious to me that the configuration of the DMG appearance actually means configuring the .DS_Store file in the DMG.<br>
> <br>
> Alan<br>
> <o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</body>
</html>