work on torrent updates
This commit is contained in:
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
#Build Number for ANT. Do not edit!
|
#Build Number for ANT. Do not edit!
|
||||||
#Thu Dec 22 04:44:38 UTC 2022
|
#Thu Dec 22 04:47:06 UTC 2022
|
||||||
build.number=364
|
build.number=365
|
||||||
|
@ -46,7 +46,7 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp {
|
|||||||
cam.notify(this, ClientAppState.STOPPED,
|
cam.notify(this, ClientAppState.STOPPED,
|
||||||
"Shutting down up profile manager systray", null);
|
"Shutting down up profile manager systray", null);
|
||||||
}
|
}
|
||||||
private void downloadInBackground() {
|
private void downloadInBackground() throws IOException {
|
||||||
try {
|
try {
|
||||||
Logger threadLogger = Logger.getLogger("browserlauncherupdatethread");
|
Logger threadLogger = Logger.getLogger("browserlauncherupdatethread");
|
||||||
FileHandler fh = new FileHandler(threadLogFile().toString());
|
FileHandler fh = new FileHandler(threadLogFile().toString());
|
||||||
@ -74,22 +74,31 @@ public class I2PBrowserPlugin extends I2PBrowser implements ClientApp {
|
|||||||
content.delete();
|
content.delete();
|
||||||
}
|
}
|
||||||
} catch (IOException err) {
|
} catch (IOException err) {
|
||||||
logger.warning(err.toString());
|
threadLogger.warning(err.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (IOException err) {
|
} catch (IOException err) {
|
||||||
//
|
// just re-throw here
|
||||||
|
throw err;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void startup() {
|
public void startup() {
|
||||||
cam.notify(this, ClientAppState.STARTING,
|
cam.notify(this, ClientAppState.STARTING,
|
||||||
"Starting up profile manager systray", null);
|
"Starting up profile manager systray", null);
|
||||||
|
IOException error = null;
|
||||||
Runnable r = new Runnable() {
|
Runnable r = new Runnable() {
|
||||||
public void run() { downloadInBackground(); }
|
public void run() {
|
||||||
|
try {
|
||||||
|
downloadInBackground();
|
||||||
|
} catch (IOException err) {
|
||||||
|
error = err;
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
new Thread(r).start();
|
new Thread(r).start();
|
||||||
try {
|
try {
|
||||||
this.startup(args);
|
this.startup(args);
|
||||||
|
logger.warning(error.toString());
|
||||||
cam.notify(this, ClientAppState.RUNNING,
|
cam.notify(this, ClientAppState.RUNNING,
|
||||||
"Starting up profile manager systray", null);
|
"Starting up profile manager systray", null);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Reference in New Issue
Block a user