2 prompt download link on newer release #3

Merged
B00tLoad merged 1 commits from 2-prompt-download-link-on-newer-release into master 2023-03-13 23:32:57 +01:00
Showing only changes of commit f724c11394 - Show all commits

View File

@@ -23,6 +23,7 @@ public class VersionChecker {
} else if (latestVersion == null) { } else if (latestVersion == null) {
System.out.println("Error: Failed to retrieve latest release version"); System.out.println("Error: Failed to retrieve latest release version");
} else if (currentVersion.compareTo(latestVersion) < 0) { } 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); System.out.println("A new version is available: " + latestVersion);
} else { } else {
System.out.println("You are running the latest version: " + currentVersion); System.out.println("You are running the latest version: " + currentVersion);