1.3.8: Attempt to fix updates by switching to raw.githubusercontent.com instead of rawgit.com.

This commit is contained in:
MetaPrime 2016-12-27 01:49:57 -06:00
parent c7354ed91a
commit a5bac662b1
3 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@
<groupId>com.rarchives.ripme</groupId> <groupId>com.rarchives.ripme</groupId>
<artifactId>ripme</artifactId> <artifactId>ripme</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<version>1.3.7</version> <version>1.3.8</version>
<name>ripme</name> <name>ripme</name>
<url>http://rip.rarchives.com</url> <url>http://rip.rarchives.com</url>
<properties> <properties>

View File

@ -1,8 +1,9 @@
{ {
"latestVersion" : "1.3.7", "latestVersion" : "1.3.8",
"changeList" : [ "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.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.5: (Version bump to confirm updates now work correctly.)",
"1.3.4: (Version bump to update cdn.)", "1.3.4: (Version bump to update cdn.)",
"1.3.3: (Version bump to update cdn.)", "1.3.3: (Version bump to update cdn.)",

View File

@ -21,8 +21,8 @@ import com.rarchives.ripme.utils.Utils;
public class UpdateUtils { public class UpdateUtils {
private static final Logger logger = Logger.getLogger(UpdateUtils.class); private static final Logger logger = Logger.getLogger(UpdateUtils.class);
private static final String DEFAULT_VERSION = "1.3.7"; private static final String DEFAULT_VERSION = "1.3.8";
private static final String updateJsonURL = "https://cdn.rawgit.com/4pr0n/ripme/master/ripme.json"; 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 mainFileName = "ripme.jar";
private static final String updateFileName = "ripme.jar.update"; private static final String updateFileName = "ripme.jar.update";