refactor : build System Stability

工具类新增了FileSHA1Safely,FileMD5Safely,FileCRC32Safely等方法。
This commit is contained in:
hevinci
2024-04-02 13:04:11 +08:00
parent 4c619778c3
commit a1450ee78a
3 changed files with 38 additions and 14 deletions
@@ -111,7 +111,7 @@ namespace YooAsset
// 再验证文件CRC
if (verifyLevel == EVerifyLevel.High)
{
string crc = HashUtility.FileCRC32(filePath);
string crc = HashUtility.FileCRC32Safely(filePath);
if (crc == fileCRC)
return EVerifyResult.Succeed;
else