equal
deleted
inserted
replaced
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()); |