Skip to content

Commit

Permalink
1.5.0: Change 'home' repo from 4pr0n/RipMe to RipMeApp/RipMe
Browse files Browse the repository at this point in the history
  • Loading branch information
metaprime committed Jun 24, 2017
1 parent 1bcec92 commit 508327d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
3 changes: 2 additions & 1 deletion ripme.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
7 changes: 4 additions & 3 deletions src/main/java/com/rarchives/ripme/ui/UpdateUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@
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() {
Expand Down

0 comments on commit 508327d

Please sign in to comment.