Skip to content

Commit

Permalink
#384 try to exclude keytool by deleting it
Browse files Browse the repository at this point in the history
  • Loading branch information
angryziber committed Feb 10, 2023
1 parent d59c320 commit a6bfa15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,13 @@ def macLauncher(def platform) {
ant.replacefilter(token: "VERSION", value: version)
}

ant.delete(file: "${dist}/${name}.app/Contents/MacOS/jre/bin/keytool")
def zipName = "${dist}/${project.name}-${platform}-${version}.zip"
ant.zip(destfile: "${dist}/${project.name}-${platform}-${version}.zip") {
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/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")
}

Expand Down

0 comments on commit a6bfa15

Please sign in to comment.