This commit is contained in:
yugecin 2016-10-11 11:04:41 +02:00
parent 255280de95
commit 3d3296f4ff

View File

@ -109,6 +109,9 @@ public class Updater {
private Download download; private Download download;
public String getCurrentVersion() { public String getCurrentVersion() {
if (currentVersion == null) {
return "unknown version";
}
return currentVersion.getMajorVersion() + "." + currentVersion.getMinorVersion() + "." + currentVersion.getIncrementalVersion(); return currentVersion.getMajorVersion() + "." + currentVersion.getMinorVersion() + "." + currentVersion.getIncrementalVersion();
} }