Fixed clipboard autorip bug in #11
This commit is contained in:
parent
7f390962b6
commit
f6730f34ac
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.11</version>
|
<version>1.0.12</version>
|
||||||
<name>ripme</name>
|
<name>ripme</name>
|
||||||
<url>http://rip.rarchives.com</url>
|
<url>http://rip.rarchives.com</url>
|
||||||
<properties>
|
<properties>
|
||||||
|
@ -45,7 +45,7 @@ public class ClipboardUtils {
|
|||||||
}
|
}
|
||||||
|
|
||||||
class AutoripThread extends Thread {
|
class AutoripThread extends Thread {
|
||||||
public volatile boolean isRunning = false;
|
protected volatile boolean isRunning = false;
|
||||||
Set<String> rippedURLs = new HashSet<String>();
|
Set<String> rippedURLs = new HashSet<String>();
|
||||||
|
|
||||||
public void run() {
|
public void run() {
|
||||||
|
@ -162,7 +162,6 @@ public class MainWindow implements Runnable, RipStatusHandler {
|
|||||||
Utils.setConfigBoolean("auto.update", configAutoupdateCheckbox.isSelected());
|
Utils.setConfigBoolean("auto.update", configAutoupdateCheckbox.isSelected());
|
||||||
saveHistory();
|
saveHistory();
|
||||||
Utils.saveConfig();
|
Utils.saveConfig();
|
||||||
ClipboardUtils.setClipboardAutoRip(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void status(String text) {
|
private void status(String text) {
|
||||||
|
@ -17,7 +17,7 @@ import org.jsoup.nodes.Document;
|
|||||||
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.11";
|
private static final String DEFAULT_VERSION = "1.0.12";
|
||||||
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