v0.8.0: fixed an error with manifest title value

This commit is contained in:
Evan Debenham 2019-10-28 00:34:24 -04:00
parent addb991631
commit 8fe1b5979b
2 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ task runDebug(dependsOn: classes, type: JavaExec) {
ignoreExitValue = true
main = mainClass
systemProperty 'Specification-Name', appName
systemProperty 'Specification-Title', appName
systemProperty 'Specification-Version', appVersionName + "-INDEV"
systemProperty 'Implementation-Version', appVersionCode
}
@ -23,7 +23,7 @@ task releaseJAR(dependsOn: classes, type: Jar) {
manifest {
attributes 'Main-Class': mainClass
attributes 'Specification-Name': appName
attributes 'Specification-Title': appName
attributes 'Specification-Version': appVersionName
attributes 'Implementation-Version': appVersionCode
}

View File

@ -58,7 +58,7 @@ public class DesktopLauncher {
config.title = DesktopLauncher.class.getPackage().getSpecificationTitle();
if (config.title == null) {
config.title = System.getProperty("Specification-Name");
config.title = System.getProperty("Specification-Title");
}
Game.version = DesktopLauncher.class.getPackage().getSpecificationVersion();