Re: jpackage requests permission via a dialog

2024-03-05 Thread Alan Snyder
> On Mar 5, 2024, at 4:42 PM, Michael Hall wrote: > > What happens if Apple changes the file format and InstallJ isn’t actively > supporting this anymore and doesn’t change their code. Your builds could stop > working. Have you tried it to be sure it even works now? If Apple changes the file

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-05 Thread Michael Hall
Fwiw screenshots DMG with a customized background image (SceneBuilder demo) http://mikehall.pairserver.com/custom_dmg.png DMG with extra files. Default layout and background image. http://mikehall.pairserver.com/additional_dmg.png

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-05 Thread Alan Snyder
> On Mar 5, 2024, at 4:31 PM, Michael Hall wrote: > > I’m not sure hacking the .DS_Store file would be Apple supported. > Is that what they are doing? I couldn’t tell from the web site. > Is install4j still actively supporting this or is this something they used to > do? > All I know is

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-05 Thread Michael Hall
I’m not sure hacking the .DS_Store file would be Apple supported. Is install4j still actively supporting this or is this something they used to do? What happens if they stop? The result of my bug report included the icons being resized to fit better with multiple files. I think Alexander’s l

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-05 Thread Alexander Matveev
: Tuesday, March 5, 2024 at 8:50 AM To: Michael Hall Cc: Alexander Matveev , core-libs-dev@openjdk.org Subject: Re: [External] : Re: jpackage requests permission via a dialog I’m wondering whether some developers might prefer to arrange the DMG layout by hand. That would require jpackage to use

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-05 Thread Alan Snyder
I’m wondering whether some developers might prefer to arrange the DMG layout by hand. That would require jpackage to use a .DS_Store file provided by the developer and not running the script. The issue is whether a .DS_Store file created using a previous DMG would work in a new DMG. The docum

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-05 Thread Michael Hall
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

Re: [External] : Re: jpackage requests permission via a dialog

2024-03-04 Thread Alexander Matveev
permission via a dialog 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. I’m also not sure if that was my explanation or Alexander’s you’re

Re: jpackage requests permission via a dialog

2024-03-04 Thread Michael Hall
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. I’m also not sure if that was my explanation or Alexander’s you’re talking about. Using the os

Re: jpackage requests permission via a dialog

2024-03-04 Thread Alan Snyder
> From: core-libs-dev <mailto:core-libs-dev-r...@openjdk.org>> on behalf of Alan Snyder > mailto:javali...@cbfiddle.com>> > Date: Sunday, March 3, 2024 at 7:09 PM > To: core-libs-dev@openjdk.org <mailto:core-libs-dev@openjdk.org> > mailto:core-libs-dev@openjdk.org>&

Re: jpackage requests permission via a dialog

2024-03-04 Thread Michael Hall
If I remember what I read correctly it was Apple’s intention that some services require explicit user authorization. So, the dialog. You could probably hdiutil yourself but the AppleScript does have benefits. Such as a background image, the drag to Application Folder option, layout appearance

Re: jpackage requests permission via a dialog

2024-03-04 Thread Alexander Matveev
Hi Alan, See below. From: core-libs-dev on behalf of Alan Snyder Date: Sunday, March 3, 2024 at 7:09 PM To: core-libs-dev@openjdk.org Subject: jpackage requests permission via a dialog I tried using jpackage on macOS to create a DMG (which I have not done before) and was surprised when a

Re: jpackage requests permission via a dialog

2024-03-04 Thread Alexey Semenyuk
On 3/3/2024 10:09 PM, Alan Snyder wrote: I tried using jpackage on macOS to create a DMG (which I have not done before) and was surprised when a system dialog was displayed requesting permission for Terminal to control Finder. I found this issue described in JDK-8231855, which was closed wi

jpackage requests permission via a dialog

2024-03-03 Thread Alan Snyder
I tried using jpackage on macOS to create a DMG (which I have not done before) and was surprised when a system dialog was displayed requesting permission for Terminal to control Finder. I found this issue described in JDK-8231855, which was closed without explanation as “not an issue”. It seem