Skip to content

Commit 5b46313

Browse files
Fix app name on Ubuntu (gluonhq#407)
1 parent 40c33cf commit 5b46313

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/linux.yml

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949
--java-options '"-Djdk.gtk.version=2"' \
5050
--java-options '"--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED"' \
5151
--java-options '"-Djava.library.path=/opt/scenebuilder/lib/runtime/bin:/opt/scenebuilder/lib/runtime/lib"' \
52+
--resource-dir app/assets/linux
5253
--install-dir /opt \
5354
--type deb
5455
mv $INSTALL_DIR/*.deb $INSTALL_DIR/SceneBuilder-${{ env.TAG }}.deb
@@ -57,6 +58,7 @@ jobs:
5758
--icon app/assets/linux/icon-linux.png \
5859
--java-options '"-Djdk.gtk.version=2"' \
5960
--java-options '"--add-opens=javafx.fxml/javafx.fxml=ALL-UNNAMED"' \
61+
--resource-dir app/assets/linux
6062
--install-dir /opt \
6163
--type rpm
6264
mv $INSTALL_DIR/*.rpm $INSTALL_DIR/SceneBuilder-${{ env.TAG }}.rpm

app/assets/linux/SceneBuilder.desktop

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Desktop Entry]
2+
Name=APPLICATION_NAME
3+
Comment=APPLICATION_DESCRIPTION
4+
Exec=APPLICATION_LAUNCHER
5+
Icon=APPLICATION_ICON
6+
Terminal=false
7+
Type=Application
8+
Categories=DEPLOY_BUNDLE_CATEGORY
9+
DESKTOP_MIMES
10+
StartupWMClass=com.oracle.javafx.scenebuilder.app.SceneBuilderApp

0 commit comments

Comments
 (0)