Added download prompt

This commit is contained in:
2023-03-13 23:31:43 +01:00
parent e75594a563
commit f724c11394

View File

@@ -23,6 +23,7 @@ public class VersionChecker {
} else if (latestVersion == null) {
System.out.println("Error: Failed to retrieve latest release version");
} else if (currentVersion.compareTo(latestVersion) < 0) {
System.out.println("Download at https://github.com/B00tLoad/SpotifyDedupe/releases/latest");
System.out.println("A new version is available: " + latestVersion);
} else {
System.out.println("You are running the latest version: " + currentVersion);