fix #25
This commit is contained in:
@@ -109,6 +109,9 @@ public class Updater {
|
||||
private Download download;
|
||||
|
||||
public String getCurrentVersion() {
|
||||
if (currentVersion == null) {
|
||||
return "unknown version";
|
||||
}
|
||||
return currentVersion.getMajorVersion() + "." + currentVersion.getMinorVersion() + "." + currentVersion.getIncrementalVersion();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user