Jpackage ignores @2x-files

Michael Paus mp at jugs.org
Fri Nov 15 13:30:54 UTC 2019


Hi,
I am trying to customize a DMG built with jpackage.
I have therefore placed two images into the configured resource folder.

myApp-background.png
myApp-background at 2x.png

The assumption is that when you open the DMG on a Mac with a retina display,
it should automatically use the @2x-version of the file in order to get 
a clear
and crisp rendering.

But this does not work because jpackage only picks up the first file 
from the
resource folder but not the second one. So this file is never copied 
into the
DMG and thus the rendering of the image on a retina display does not 
look nice.

Michael



More information about the core-libs-dev mailing list