mirror of
https://github.com/processing/processing4.git
synced 2026-02-03 05:39:18 +01: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")) {
|
||||
|
||||
Reference in New Issue
Block a user