I do, however, see two problems.

1.) If the --icon option value points to a non-existent file - jpackage will use the default icon without any warning, even if --verbose is used.

2.) If a dmg is created with a non default icns file (at least some, may be size dependent) , the Applications folderĀ  icon is not shown to give user chance to drag application into Applications folder.

I will look int both of these.

/Andy

On 4/27/20 5:41 PM, Andy Herrick wrote:

On 4/27/20 3:41 PM, Andy Herrick wrote:
I can see this problem on Mac using .icns file, but I don't see any similar problem on windows, using .ico format.

my mistake - was testing the wrong app (one without --icon option)

I cannot reproduce this even on Mac - can you show your complete jpackage command ?

/Andy

/Andy

On 4/27/2020 3:03 PM, jjk wrote:
Tried various forms of
--icon Iconfile.icns
--resource-folder folder_name

etc, but 'am still getting default images for dmg and app (java snowman)

and same for windows version jdk.

What is the right way to change this behavior of jpackage (tried both open
jdk-15 EA and Jdk-14.1)

Thanks in advance.

--JJK



--
Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Core-Libraries-f45829.html

Reply via email to