1.3.2: Really fix update mechanism (use cdn.rawgit.com correctly).
This commit is contained in:
parent
8fce0e545d
commit
62fc4897d0
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<groupId>com.rarchives.ripme</groupId>
|
||||
<artifactId>ripme</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>1.3.1</version>
|
||||
<version>1.3.2</version>
|
||||
<name>ripme</name>
|
||||
<url>http://rip.rarchives.com</url>
|
||||
<properties>
|
||||
|
@ -1,6 +1,7 @@
|
||||
{
|
||||
"latestVersion" : "1.3.1",
|
||||
"latestVersion" : "1.3.2",
|
||||
"changeList" : [
|
||||
"1.3.2: Really fix update mechanism.",
|
||||
"1.3.1: Fix update mechanism. Improved Imgur. Some improvements.",
|
||||
"1.3.0: Fix Instagram, Tumblr, xHamster, 4chan, 8muses. Some new features.",
|
||||
"1.2.13: Hotfix for imgur album rips",
|
||||
|
@ -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.1";
|
||||
private static final String updateJsonURL = "https://cdn.rawgit.com/4pr0n/ripme/master/ripme.json";
|
||||
private static final String DEFAULT_VERSION = "1.3.2";
|
||||
private static final String updateJsonURL = "https://cdn.rawgit.com/4pr0n/ripme/" + DEFAULT_VERSION + "/ripme.json";
|
||||
private static final String mainFileName = "ripme.jar";
|
||||
private static final String updateFileName = "ripme.jar.update";
|
||||
|
||||
@ -34,7 +34,7 @@ public class UpdateUtils {
|
||||
String thisVersion = UpdateUtils.class.getPackage().getImplementationVersion();
|
||||
if (thisVersion == null) {
|
||||
// Version is null if we're not running from the JAR
|
||||
thisVersion = DEFAULT_VERSION; ; // Super-high version number
|
||||
thisVersion = DEFAULT_VERSION; // Super-high version number
|
||||
}
|
||||
return thisVersion;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user