Default version

This commit is contained in:
Laurent Clouet
2019-08-07 21:43:53 +02:00
parent d38c8c5fcc
commit 9b36dcf9b5

View File

@@ -417,7 +417,7 @@ public class Configuration {
InputStream versionStream = Client.class.getResourceAsStream(versionPath); InputStream versionStream = Client.class.getResourceAsStream(versionPath);
if (versionStream == null) { if (versionStream == null) {
System.err.println("Configuration::getJarVersion Failed to get version file"); System.err.println("Configuration::getJarVersion Failed to get version file");
return ""; return "5.0.0";
} }
try { try {
@@ -429,7 +429,7 @@ public class Configuration {
} }
catch (IOException ex) { catch (IOException ex) {
System.err.println("Configuration::getJarVersion error while reading manifest file (" + versionPath + "): " + ex.getMessage()); System.err.println("Configuration::getJarVersion error while reading manifest file (" + versionPath + "): " + ex.getMessage());
return ""; return "5.0.0";
} }
} }