fix #25
This commit is contained in:
parent
255280de95
commit
3d3296f4ff
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user