mirror of
https://github.com/packwiz/packwiz-installer.git
synced 2025-10-17 08:24: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(){
|
ui.executeManager(new Runnable(){
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
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) {
|
} catch (Exception e) {
|
||||||
|
@@ -140,7 +140,7 @@ public class UpdateManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (packFileSource.hashIsEqual(manifest.packFileHash)) {
|
if (manifest.packFileHash != null && packFileSource.hashIsEqual(manifest.packFileHash)) {
|
||||||
System.out.println("Hash already up to date!");
|
System.out.println("Hash already up to date!");
|
||||||
// WOOO it's already up to date
|
// WOOO it's already up to date
|
||||||
// todo: --force?
|
// todo: --force?
|
||||||
|
Reference in New Issue
Block a user