Attempt to fix updates by switching update source to the raw file in master on GitHub (rawgit.com was problematic).

This commit is contained in:
MetaPrime 2016-12-27 01:34:55 -06:00
parent fed01e7423
commit 3505840374
3 changed files with 5 additions and 4 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.5</version> <version>1.3.6</version>
<name>ripme</name> <name>ripme</name>
<url>http://rip.rarchives.com</url> <url>http://rip.rarchives.com</url>
<properties> <properties>

View File

@ -1,6 +1,7 @@
{ {
"latestVersion" : "1.3.5", "latestVersion" : "1.3.6",
"changeList" : [ "changeList" : [
"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.5: (Version bump to ensure updates now work correctly.)", "1.3.5: (Version bump to ensure 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.5"; private static final String DEFAULT_VERSION = "1.3.6";
private static final String updateJsonURL = "https://cdn.rawgit.com/4pr0n/ripme/" + DEFAULT_VERSION + "/ripme.json"; private static final String updateJsonURL = "https://cdn.rawgit.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";