fvarrui / JavaPackager

:package: Gradle/Maven plugin to package Java applications as native Windows, MacOS, or Linux executables and create installers for them.
GNU General Public License v3.0
1.07k stars 134 forks source link

Fix codesigning if JRE not bundled #309

Closed maths22 closed 1 year ago

maths22 commented 1 year ago

I realized I missed this conditional in the other PR, and this line would almost certainly fail without a bundled jre.

Edit: tested and confirmed without this change it is broken if bundleJre = false, with this change it successfully signs and notarizes.