v0.8.0: fixed an error with manifest title value
This commit is contained in:
parent
addb991631
commit
8fe1b5979b
|
@ -12,7 +12,7 @@ task runDebug(dependsOn: classes, type: JavaExec) {
|
||||||
ignoreExitValue = true
|
ignoreExitValue = true
|
||||||
|
|
||||||
main = mainClass
|
main = mainClass
|
||||||
systemProperty 'Specification-Name', appName
|
systemProperty 'Specification-Title', appName
|
||||||
systemProperty 'Specification-Version', appVersionName + "-INDEV"
|
systemProperty 'Specification-Version', appVersionName + "-INDEV"
|
||||||
systemProperty 'Implementation-Version', appVersionCode
|
systemProperty 'Implementation-Version', appVersionCode
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,7 @@ task releaseJAR(dependsOn: classes, type: Jar) {
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': mainClass
|
attributes 'Main-Class': mainClass
|
||||||
attributes 'Specification-Name': appName
|
attributes 'Specification-Title': appName
|
||||||
attributes 'Specification-Version': appVersionName
|
attributes 'Specification-Version': appVersionName
|
||||||
attributes 'Implementation-Version': appVersionCode
|
attributes 'Implementation-Version': appVersionCode
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class DesktopLauncher {
|
||||||
|
|
||||||
config.title = DesktopLauncher.class.getPackage().getSpecificationTitle();
|
config.title = DesktopLauncher.class.getPackage().getSpecificationTitle();
|
||||||
if (config.title == null) {
|
if (config.title == null) {
|
||||||
config.title = System.getProperty("Specification-Name");
|
config.title = System.getProperty("Specification-Title");
|
||||||
}
|
}
|
||||||
|
|
||||||
Game.version = DesktopLauncher.class.getPackage().getSpecificationVersion();
|
Game.version = DesktopLauncher.class.getPackage().getSpecificationVersion();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user