Fixed clipboard autorip bug in #11

This commit is contained in:
4pr0n 2014-04-08 00:55:26 -07:00
parent 7f390962b6
commit f6730f34ac
4 changed files with 3 additions and 4 deletions

View File

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

View File

@ -45,7 +45,7 @@ public class ClipboardUtils {
}
class AutoripThread extends Thread {
public volatile boolean isRunning = false;
protected volatile boolean isRunning = false;
Set<String> rippedURLs = new HashSet<String>();
public void run() {

View File

@ -162,7 +162,6 @@ public class MainWindow implements Runnable, RipStatusHandler {
Utils.setConfigBoolean("auto.update", configAutoupdateCheckbox.isSelected());
saveHistory();
Utils.saveConfig();
ClipboardUtils.setClipboardAutoRip(false);
}
private void status(String text) {

View File

@ -17,7 +17,7 @@ import org.jsoup.nodes.Document;
public class UpdateUtils {
private static final Logger logger = Logger.getLogger(UpdateUtils.class);
private static final String DEFAULT_VERSION = "1.0.11";
private static final String DEFAULT_VERSION = "1.0.12";
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";