1.5.0: Change 'home' repo from 4pr0n/RipMe to RipMeApp/RipMe

This commit is contained in:
MetaPrime 2017-06-24 13:18:54 -07:00
parent 1bcec928a4
commit 508327d80d
3 changed files with 7 additions and 5 deletions

View File

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

View File

@ -1,6 +1,7 @@
{
"latestVersion" : "1.4.21",
"latestVersion" : "1.5.0",
"changeList" : [
"1.5.0: Change 'home' repo from 4pr0n/RipMe to RipMeApp/RipMe",
"1.4.21: Added Chevereto ripper (hushpix.com, tag-fox.com)",
"1.4.20: EroshareRipper can now rip user profiles",
"1.4.19: WordpressComicRipper supports more rippers; improvements to Instagram and code quality",

View File

@ -21,13 +21,14 @@ 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.4.21";
private static final String updateJsonURL = "https://raw.githubusercontent.com/4pr0n/ripme/master/ripme.json";
private static final String DEFAULT_VERSION = "1.5.0";
private static final String REPO_NAME = "ripmeapp/ripme";
private static final String updateJsonURL = "https://raw.githubusercontent.com/" + REPO_NAME + "/master/ripme.json";
private static final String mainFileName = "ripme.jar";
private static final String updateFileName = "ripme.jar.update";
public static String getUpdateJarURL(String latestVersion) {
return "https://github.com/4pr0n/ripme/releases/download/" + latestVersion + "/ripme.jar";
return "https://github.com/" + REPO_NAME + "/releases/download/" + latestVersion + "/ripme.jar";
}
public static String getThisJarVersion() {