|
@@ -58,7 +58,7 @@ public class InstallWorker extends LoggingSwingWorker<String, Void> {
|
58
|
58
|
protected String doInBackground() {
|
59
|
59
|
try {
|
60
|
60
|
final File file = new File(controller.getIdentityManager().getConfigDir(),
|
61
|
|
- "." + info.getDownload());
|
|
61
|
+ "." + info.getId());
|
62
|
62
|
Downloader.downloadPage("http://addons.dmdirc.com/addondownload/"
|
63
|
63
|
+ info.getDownload(), file.getAbsolutePath());
|
64
|
64
|
|
|
@@ -97,10 +97,6 @@ public class InstallWorker extends LoggingSwingWorker<String, Void> {
|
97
|
97
|
/** {@inheritDoc} */
|
98
|
98
|
@Override
|
99
|
99
|
protected void done() {
|
100
|
|
- if (!isCancelled()) {
|
101
|
|
- installer.finished("");
|
102
|
|
- return;
|
103
|
|
- }
|
104
|
100
|
String message = "";
|
105
|
101
|
try {
|
106
|
102
|
message = get();
|