mirror of
https://github.com/colbster937/originblacklist.git
synced 2026-02-04 11:07:41 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df17431df0 |
@@ -271,11 +271,13 @@ public final class OriginBlacklist {
|
|||||||
} finally {
|
} finally {
|
||||||
conn.disconnect();
|
conn.disconnect();
|
||||||
}
|
}
|
||||||
|
if (Files.exists(upd)) {
|
||||||
Files.delete(jar);
|
Files.delete(jar);
|
||||||
Files.delete(bak);
|
Files.delete(bak);
|
||||||
this.jarFile = upd;
|
this.jarFile = upd;
|
||||||
action1.run();
|
action1.run();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
} catch (final Throwable t) {
|
} catch (final Throwable t) {
|
||||||
Files.move(bak, jar, StandardCopyOption.REPLACE_EXISTING);
|
Files.move(bak, jar, StandardCopyOption.REPLACE_EXISTING);
|
||||||
throw t;
|
throw t;
|
||||||
|
|||||||
Reference in New Issue
Block a user