Minor Gradle improvements

This commit is contained in:
fgnm
2021-07-18 17:49:35 +02:00
parent 087d2284ef
commit a36f9fda1b
3 changed files with 18 additions and 4 deletions
+5 -3
View File
@@ -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')) {
+1 -1
View File
@@ -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
+12
View File
@@ -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