Open saket opened 3 years ago
I'm exploring if I can set --type app-image for modifying images built for my macOS app (docs). Doing this for specifying an app image directory doesn't seem to work:
--type app-image
tasks.withType<AbstractJPackageTask>().all { appImage.set(file("foo")) }
This fails with a jpackage error:
> External tool execution failed: * Command: [/Users/saket/.sdkman/candidates/java/16.0.1.j9-adpt/bin/jpackage, @/Users/saket/projects/teleport/desktop/build/compose/tmp/packageDmg.args.txt] * Working dir: [] * Exit code: 1 * Standard output log: .../build/compose/logs/packageDmg/jpackage-2021-06-17-17-41-19-out.txt * Error log: .../build/compose/logs/packageDmg/jpackage-2021-06-17-17-41-19-err.txt
The error log file contains this message:
Error: Option [--java-options] is not valid with type [dmg]
What am I doing wrong?
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
I'm exploring if I can set
--type app-image
for modifying images built for my macOS app (docs). Doing this for specifying an app image directory doesn't seem to work:This fails with a jpackage error:
The error log file contains this message:
What am I doing wrong?