jpackage -- icon setting for packages dmg/exe
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
I can see this problem on Mac using .icns file, but I don't see any similar problem on windows, using .ico format. /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
Thanks Andy; Re done, after 'saw your comment; Windows worked with .ico (had to redo the png to ico -format corruption) Any ideas for the Mac? Thanks in advance. -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Core-Libraries-f45829.html
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
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
Thanks Andy. I moved all the icons from input folder to a separate folder and that did the trick (if it helps someone) In all, I am able to create and set icons for both windows and Mac. Thank you! -- Sent from: http://openjdk.5641.n7.nabble.com/OpenJDK-Core-Libraries-f45829.html
participants (2)
-
Andy Herrick
-
jjk