mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
adding javafx run options for Windows exported apps
This commit is contained in:
@@ -934,6 +934,16 @@ public class JavaBuild {
|
||||
jre.addChild("opt").setContent(opt);
|
||||
}
|
||||
|
||||
final String[] fxOptions = new String[]{
|
||||
"--module-path=" + getModulePath(),
|
||||
"--add-modules=javafx.base,javafx.graphics,javafx.swing",
|
||||
"--add-exports=javafx.graphics/com.sun.javafx.geom=ALL-UNNAMED",
|
||||
"--add-exports=javafx.graphics/com.sun.glass.ui=ALL-UNNAMED"
|
||||
};
|
||||
for (String opt : fxOptions) {
|
||||
jre.addChild("opt").setContent(opt);
|
||||
}
|
||||
|
||||
config.save(configFile);
|
||||
project.save(buildFile);
|
||||
if (!buildWindowsLauncher(buildFile, "windows")) {
|
||||
|
||||
@@ -26,6 +26,11 @@ X update to launch4j 3.14, fixing Export to Application on Windows
|
||||
X change defaults to get away from JFileChooser; it's awful
|
||||
X working on JavaFX on Windows, more runtime problems, needing exports
|
||||
|
||||
_ Remove usage of com.sun.* in JavaFX library
|
||||
_ https://github.com/processing/processing4/issues/208
|
||||
_ Only specify --modules-path when running JavaFX apps
|
||||
_ https://github.com/processing/processing4/issues/209
|
||||
|
||||
|
||||
for next release
|
||||
_ Code completion not working
|
||||
|
||||
Reference in New Issue
Block a user