From e739c65ab065571cd95f6fa4a668065e60a0346b Mon Sep 17 00:00:00 2001 From: CoocooFroggy <45371102+CoocooFroggy@users.noreply.github.com> Date: Wed, 23 Mar 2022 21:29:29 -0400 Subject: [PATCH] Hotfix - infinite update loop --- src/main/java/Main.java | 2 +- src/main/java/MainMenu.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/Main.java b/src/main/java/Main.java index 59a16fa..adfab6a 100644 --- a/src/main/java/Main.java +++ b/src/main/java/Main.java @@ -1,6 +1,6 @@ public class Main { public static void main(String[] args) { - MainMenu.futureRestoreGUIVersion = "1.97.1"; + MainMenu.futureRestoreGUIVersion = "1.97.2"; MainMenu.main(); /* diff --git a/src/main/java/MainMenu.java b/src/main/java/MainMenu.java index 51099ac..d6c6004 100644 --- a/src/main/java/MainMenu.java +++ b/src/main/java/MainMenu.java @@ -1217,7 +1217,7 @@ boolean previewCommand(ArrayList allArgs) { static void alertIfNewerFRGUIAvailable(MainMenu mainMenuInstance, String currentFRGUIVersion) { new Thread(() -> { try { - String content = getRequestUrl("https://api.github.com/repos/CoocooFroggy/FutureRestore-GUI/releases"); + String content = getRequestUrl("https://api.github.com/repos/CoocooFroggy/FutureRestore-GUI/releases/latest"); Gson gson = new Gson(); ArrayList> result = gson.fromJson(content, ArrayList.class);