working on macOS Sierra signing issues seen in #4705

This commit is contained in:
Ben Fry
2017-05-04 07:07:50 -04:00
parent 4ae2cdcdbc
commit 10bd76d099
3 changed files with 23 additions and 17 deletions

View File

@@ -796,7 +796,8 @@ public class JavaBuild {
File macosFolder = new File(contentsFolder, "MacOS");
macosFolder.mkdirs();
Util.copyFile(new File(contentsOrig, "MacOS/Processing"),
// This is an unsigned copy of the app binary (see build/build.xml)
Util.copyFile(mode.getContentFile("application/mac-app-stub"),
new File(contentsFolder, "MacOS/" + sketch.getName()));
File pkgInfo = new File(contentsFolder, "PkgInfo");