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