From a5bac662b1f4b24c93907e9ae5dc8323ce29c567 Mon Sep 17 00:00:00 2001 From: MetaPrime Date: Tue, 27 Dec 2016 01:49:57 -0600 Subject: [PATCH] 1.3.8: Attempt to fix updates by switching to raw.githubusercontent.com instead of rawgit.com. --- pom.xml | 2 +- ripme.json | 5 +++-- src/main/java/com/rarchives/ripme/ui/UpdateUtils.java | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 29a25f53..79b3aba0 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.rarchives.ripme ripme jar - 1.3.7 + 1.3.8 ripme http://rip.rarchives.com diff --git a/ripme.json b/ripme.json index 2901799c..08409a2e 100644 --- a/ripme.json +++ b/ripme.json @@ -1,8 +1,9 @@ { - "latestVersion" : "1.3.7", + "latestVersion" : "1.3.8", "changeList" : [ + "1.3.8: Attempt to fix updates by switching to raw.githubusercontent.com instead of rawgit.com.", "1.3.7: (Version bump to confirm updates now work correctly.)", - "1.3.6: Attempt to fix updates by switching update source to the raw file in master on GitHub (rawgit.com was problematic).", + "1.3.6: Attempt to fix updates by switching update source to the raw file in master on GitHub.", "1.3.5: (Version bump to confirm updates now work correctly.)", "1.3.4: (Version bump to update cdn.)", "1.3.3: (Version bump to update cdn.)", diff --git a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java index 43ebf5be..0098446f 100644 --- a/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java +++ b/src/main/java/com/rarchives/ripme/ui/UpdateUtils.java @@ -21,8 +21,8 @@ import com.rarchives.ripme.utils.Utils; public class UpdateUtils { private static final Logger logger = Logger.getLogger(UpdateUtils.class); - private static final String DEFAULT_VERSION = "1.3.7"; - private static final String updateJsonURL = "https://cdn.rawgit.com/4pr0n/ripme/master/ripme.json"; + private static final String DEFAULT_VERSION = "1.3.8"; + private static final String updateJsonURL = "https://raw.githubusercontent.com/4pr0n/ripme/master/ripme.json"; private static final String mainFileName = "ripme.jar"; private static final String updateFileName = "ripme.jar.update";