1.0.90 - Don't show error when ripping a valid URL

Closes #110
This commit is contained in:
4pr0n 2014-10-21 03:03:29 -07:00
parent c163eadd23
commit bf933069c2
3 changed files with 5 additions and 2 deletions

View File

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

View File

@ -441,6 +441,9 @@ public class MainWindow implements Runnable, RipStatusHandler {
private void update() {
try {
String urlText = ripTextfield.getText().trim();
if (urlText.equals("")) {
return;
}
if (!urlText.startsWith("http")) {
urlText = "http://" + urlText;
}

View File

@ -21,7 +21,7 @@ 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.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 updateJarURL = "http://rarchives.com/ripme.jar";
private static final String mainFileName = "ripme.jar";