get export for JavaFX working again

This commit is contained in:
Ben Fry
2021-06-20 14:30:25 -04:00
parent 2eb872677e
commit befdba7137
3 changed files with 6 additions and 2 deletions

View File

@@ -148,7 +148,7 @@
<param name="gluon.base" value="javafx-16-sdk-mac" />
<!-- extract the .jar files from the first javafx we run across -->
<!-- <param name="skip.jars" value="true" /> -->
<param name="natives.path" value="${library.path}/macosx64" />
<param name="natives.path" value="${library.path}/macosx" />
</antcall>
<antcall target="retrieve-gluon">

View File

@@ -853,7 +853,7 @@ public class JavaBuild {
String lines[] = PApplet.loadStrings(plistTemplate);
for (int i = 0; i < lines.length; i++) {
if (lines[i].indexOf("@@") != -1) {
if (lines[i].contains("@@")) {
StringBuilder sb = new StringBuilder(lines[i]);
int index = 0;
while ((index = sb.indexOf("@@jvm_runtime@@")) != -1) {