add skip check

This commit is contained in:
2025-07-22 14:07:33 +07:00
parent 644a6f9803
commit 95f8ed357d
2 changed files with 7 additions and 4 deletions

View File

@@ -47,11 +47,9 @@ func (v *Verifier) VerifyAll() error {
"maxProgress": len(v.DiffMapEntries),
})
if err := check(entry.SourceFileName, entry.SourceFileSize, entry.SourceFileMD5, v.GamePath); err != nil {
return fmt.Errorf("source_file failed: %w", err)
application.Get().EmitEvent("hdiffz:error", err.Error())
continue
}
// if err := check(entry.PatchFileName, entry.PatchFileSize, entry.PatchFileMD5, v.HdiffPath); err != nil {
// return fmt.Errorf("patch_file failed: %w", err)
// }
}
return nil
}