parent
c163eadd23
commit
bf933069c2
2
pom.xml
2
pom.xml
@ -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.0.89</version>
|
<version>1.0.90</version>
|
||||||
<name>ripme</name>
|
<name>ripme</name>
|
||||||
<url>http://rip.rarchives.com</url>
|
<url>http://rip.rarchives.com</url>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -441,6 +441,9 @@ public class MainWindow implements Runnable, RipStatusHandler {
|
|||||||
private void update() {
|
private void update() {
|
||||||
try {
|
try {
|
||||||
String urlText = ripTextfield.getText().trim();
|
String urlText = ripTextfield.getText().trim();
|
||||||
|
if (urlText.equals("")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (!urlText.startsWith("http")) {
|
if (!urlText.startsWith("http")) {
|
||||||
urlText = "http://" + urlText;
|
urlText = "http://" + urlText;
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ 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.0.89";
|
private static final String DEFAULT_VERSION = "1.0.90";
|
||||||
private static final String updateJsonURL = "http://rarchives.com/ripme.json";
|
private static final String updateJsonURL = "http://rarchives.com/ripme.json";
|
||||||
private static final String updateJarURL = "http://rarchives.com/ripme.jar";
|
private static final String updateJarURL = "http://rarchives.com/ripme.jar";
|
||||||
private static final String mainFileName = "ripme.jar";
|
private static final String mainFileName = "ripme.jar";
|
||||||
|
Loading…
Reference in New Issue
Block a user