src/jdk.jpackage/macosx/classes/jdk/jpackage/internal/MacDmgBundler.java
branchJDK-8200758-branch
changeset 58607 7451b17b40d3
parent 58306 42c7f9800e30
child 58647 2c43b89b1679
equal deleted inserted replaced
58606:6e02ff008c16 58607:7451b17b40d3
   341                 try {
   341                 try {
   342                     volumeIconFile.setWritable(true);
   342                     volumeIconFile.setWritable(true);
   343                     // The "creator" attribute on a file is a legacy attribute
   343                     // The "creator" attribute on a file is a legacy attribute
   344                     // but it seems Finder excepts these bytes to be
   344                     // but it seems Finder excepts these bytes to be
   345                     // "icnC" for the volume icon
   345                     // "icnC" for the volume icon
   346                     // http://endrift.com/blog/2010/06/14/dmg-files-volume-icons-cli
       
   347                     // (might not work on Mac 10.13 with old XCode)
   346                     // (might not work on Mac 10.13 with old XCode)
   348                     pb = new ProcessBuilder(
   347                     pb = new ProcessBuilder(
   349                             setFileUtility,
   348                             setFileUtility,
   350                             "-c", "icnC",
   349                             "-c", "icnC",
   351                             volumeIconFile.getAbsolutePath());
   350                             volumeIconFile.getAbsolutePath());