From 8fe1b5979b217ab115c747c282cf55f17ed1347d Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Mon, 28 Oct 2019 00:34:24 -0400 Subject: [PATCH] v0.8.0: fixed an error with manifest title value --- desktop/build.gradle | 4 ++-- .../shatteredpixeldungeon/desktop/DesktopLauncher.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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();