Skip to content

Commit

Permalink
Merge branch 'gluonhq:master' into issue-369
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-Loeffler authored Dec 22, 2024
2 parents abe85a2 + 39688b6 commit bda6925
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/scripts/jpackage.bat
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ REM set MODULES=java.desktop,java.logging,java.naming,java.prefs,java.security.j
--runtime-image app/target/runtime ^
--dest %INSTALL_DIR% ^
--type msi ^
--java-options "-Djavafx.allowjs=true" ^
--java-options "--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED" ^
--java-options "-Djava.library.path=runtime\bin;runtime\lib" ^
--icon app/assets/windows/icon-windows.ico ^
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundles-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
.github/scripts/jpackage.sh \
--icon app/assets/linux/icon-linux.png \
--java-options '"-Djdk.gtk.version=2"' \
--java-options '"-Djavafx.allowjs=true"' \
--java-options '"--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED"' \
--java-options '"-Djava.library.path=/opt/scenebuilder/lib/runtime/bin:/opt/scenebuilder/lib/runtime/lib"' \
--linux-menu-group '"Development;Building;GUIDesigner;Java;"' \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundles-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ jobs:
run: |
.github/scripts/jpackage.sh \
--icon app/assets/osx/icon-mac.icns \
--java-options '"-Djavafx.allowjs=true"' \
--java-options '"--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED"' \
--type dmg \
--mac-package-identifier com.gluonhq.scenebuilder \
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundles-mac_aarch64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
run: |
.github/scripts/jpackage.sh \
--icon app/assets/osx/icon-mac.icns \
--java-options '"-Djavafx.allowjs=true"' \
--java-options '"--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED"' \
--type dmg \
--mac-package-identifier com.gluonhq.scenebuilder \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<?language nameOfScriptLanguage?>
<?language javascript?>

<!-- This could be a license header -->

Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<configuration>
<mainClass>${main.class.name}</mainClass>
<options>
<option>-Djavafx.allowjs=true</option>
<option>--add-opens=javafx.fxml/javafx.fxml=com.gluonhq.scenebuilder.app</option>
<option>--add-opens=javafx.fxml/javafx.fxml=com.gluonhq.scenebuilder.kit</option>
<option>--add-opens=javafx.controls/com.sun.javafx.scene.control.skin.caspian=com.gluonhq.scenebuilder.kit</option>
Expand Down Expand Up @@ -139,7 +140,7 @@
<configuration>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
<argLine>--add-opens=javafx.fxml/javafx.fxml=com.gluonhq.scenebuilder.kit</argLine>
<argLine>--add-opens=javafx.fxml/javafx.fxml=com.gluonhq.scenebuilder.kit -Djavafx.allowjs=true</argLine>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit bda6925

Please sign in to comment.