|
|
@ -133,7 +133,9 @@ public class InstallerActivity extends CompatActivity {
|
|
|
|
if (this.canceled) return;
|
|
|
|
if (this.canceled) return;
|
|
|
|
if (checksum != null && !checksum.isEmpty()) {
|
|
|
|
if (checksum != null && !checksum.isEmpty()) {
|
|
|
|
Log.d(TAG, "Checking for checksum: " + checksum);
|
|
|
|
Log.d(TAG, "Checking for checksum: " + checksum);
|
|
|
|
|
|
|
|
this.runOnUiThread(() -> {
|
|
|
|
this.installerTerminal.addLine("- Checking file integrity");
|
|
|
|
this.installerTerminal.addLine("- Checking file integrity");
|
|
|
|
|
|
|
|
});
|
|
|
|
if (!Hashes.checkSumMatch(rawModule, checksum)) {
|
|
|
|
if (!Hashes.checkSumMatch(rawModule, checksum)) {
|
|
|
|
this.setInstallStateFinished(false,
|
|
|
|
this.setInstallStateFinished(false,
|
|
|
|
"! File integrity check failed", "");
|
|
|
|
"! File integrity check failed", "");
|
|
|
|