mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-10-16 16:04:32 +02:00
Compare commits
2 Commits
v0.0.2-pre
...
v0.0.4-pre
Author | SHA1 | Date | |
---|---|---|---|
|
533c7a3ed5 | ||
|
d18e134140 |
@@ -122,7 +122,13 @@ public class Main {
|
||||
ui.executeManager(new Runnable(){
|
||||
@Override
|
||||
public void run() {
|
||||
new UpdateManager(uOptions, ui);
|
||||
try {
|
||||
new UpdateManager(uOptions, ui);
|
||||
} catch (Exception e) {
|
||||
// TODO: better error message?
|
||||
ui.handleExceptionAndExit(e);
|
||||
return;
|
||||
}
|
||||
}
|
||||
});
|
||||
} catch (Exception e) {
|
||||
|
@@ -140,7 +140,7 @@ public class UpdateManager {
|
||||
return;
|
||||
}
|
||||
|
||||
if (packFileSource.hashIsEqual(manifest.packFileHash)) {
|
||||
if (manifest.packFileHash != null && packFileSource.hashIsEqual(manifest.packFileHash)) {
|
||||
System.out.println("Hash already up to date!");
|
||||
// WOOO it's already up to date
|
||||
// todo: --force?
|
||||
|
Reference in New Issue
Block a user