File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
src/main/java/io/github/fvarrui/javapackager/packagers Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ protected File doApply(Packager packager) throws Exception {
133133
134134 }
135135
136- // removes jre/legal folder
136+ // removes jre/legal folder as it causes problems when codesigning from Mac OS
137137 File legalFolder = new File (destinationFolder , "legal" );
138138 if (legalFolder .exists ()) {
139139 FileUtils .removeFolder (legalFolder );
@@ -144,6 +144,10 @@ protected File doApply(Packager packager) throws Exception {
144144 } else {
145145 Logger .infoUnindent ("JRE bundling skipped!" );
146146 }
147+
148+ // updates bundle jre property value, as this artifact generator could disable this option
149+ // (e.g. when bundling a jre from a different platform than the current one)
150+ packager .bundleJre (bundleJre );
147151
148152 return destinationFolder ;
149153 }
You can’t perform that action at this time.
0 commit comments