diff --git a/build.gradle b/build.gradle index f347a26e..4f75c21a 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ project.ext.assetsDir = new File("assets/"); def osName = System.getProperty('os.name').toLowerCase(Locale.ROOT) task runHyperLap2D(dependsOn: classes, type: JavaExec) { - main = project.mainClassName + mainClass = project.mainClassName classpath = sourceSets.main.runtimeClasspath standardInput = System.in workingDir = project.assetsDir @@ -154,7 +154,7 @@ runtime { if (osName.contains('windows')) { imageOptions += ["--icon", file("icons/icon.ico")] installerType = 'msi' - installerOptions += ['--win-dir-chooser', '--win-menu', + installerOptions += ['--win-dir-chooser', '--win-menu', '--win-menu-group', 'HyperLap2D', '--win-shortcut', '--vendor', 'Red & Black Games', '--description', 'HyperLap2D Editor', '--win-upgrade-uuid', 'e5f64fb6-111f-41f3-8f33-03b90e1a3a32'] @@ -163,8 +163,10 @@ runtime { imageOptions += ["--icon", file("icons/HyperLap2D.png")] installerType = 'deb' installerOptions += [ + '--vendor', 'Red & Black Games', + '--description', 'HyperLap2D is a Visual Editor for complex 2D worlds and scenes.', '--linux-menu-group', 'Development', '--linux-deb-maintainer', 'business@rednblack.games', - '--linux-shortcut' + '--linux-shortcut', '--vendor', 'Red & Black Games', '--linux-rpm-license-type', 'License: GPL3' ] resourceDir = file("resources-linux") } else if (osName.contains('mac')) { diff --git a/gradle.properties b/gradle.properties index 7761b0b4..35c07611 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,5 +4,5 @@ ashleyVersion = 1.7.4 spineVersion = 3.8.55.1 visuiVersion = 1.5.0 typingLabelVersion = 1.2.0 -shapedrawerVersion = 2.4.0 +shapedrawerVersion = 2.5.0 talosVersion = 1.3.1 \ No newline at end of file diff --git a/resources-linux/HyperLap2D.desktop b/resources-linux/HyperLap2D.desktop new file mode 100644 index 00000000..7bd0727a --- /dev/null +++ b/resources-linux/HyperLap2D.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Name=APPLICATION_NAME +GenericName=2D Game Editor +Comment=APPLICATION_DESCRIPTION +Exec=APPLICATION_LAUNCHER +Icon=APPLICATION_ICON +Terminal=false +Type=Application +DESKTOP_MIMES +Categories=DEPLOY_BUNDLE_CATEGORY +Keywords=development;games;hyperlap2d +StartupWMClass=huperlap2d