Skip to content

Commit

Permalink
#384 jspawnhelper needs to be executable in bundled jre on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
angryziber committed Feb 10, 2023
1 parent fa912f9 commit d59c320
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,9 @@ def macLauncher(def platform) {
ant.zipfileset(dir: "${dist}/${name}.app", excludes: "Contents/MacOS/ipscan,Contents/MacOS/jre/bin/java", prefix: "${name}.app")
// this one should be executable
ant.zipfileset(dir: "${dist}/${name}.app", includes: "Contents/MacOS/ipscan", prefix: "${name}.app", filemode: "755")
ant.zipfileset(dir: "${dist}/${name}.app", includes: "Contents/MacOS/jre/bin/*", prefix: "${name}.app", filemode: "755")
ant.zipfileset(dir: "${dist}/${name}.app", includes: "Contents/MacOS/jre/bin/java", prefix: "${name}.app", filemode: "755")
ant.zipfileset(dir: "${dist}/${name}.app", excludes: "Contents/MacOS/jre/bin/keytool", prefix: "${name}.app")
ant.zipfileset(dir: "${dist}/${name}.app", includes: "Contents/MacOS/jre/lib/jspawnhelper", prefix: "${name}.app", filemode: "755")
}

if (System.getenv("APPLE_USER")) {
Expand Down

0 comments on commit d59c320

Please sign in to comment.