diff --git a/desktop/build.gradle b/desktop/build.gradle index 442f17cf1..d4671ff7b 100644 --- a/desktop/build.gradle +++ b/desktop/build.gradle @@ -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 } diff --git a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java index 6f15ffa87..2142e2f7a 100644 --- a/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java +++ b/desktop/src/main/java/com/shatteredpixel/shatteredpixeldungeon/desktop/DesktopLauncher.java @@ -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();