6.6.0 - Fix2 - 修复 Temurin 平台无法构建项目

This commit is contained in:
SuperMonster003
2024-12-02 16:07:38 +08:00
parent 7b867ec241
commit 789dff8ad6

View File

@@ -134,17 +134,21 @@ class Utils {
}
if (shouldExtract) {
printExtractInfo()
try {
printExtractInfo()
extractCacheFile()
generateMd5File(cacheFile)
} catch (Exception e) {
println("\n") // two line breaks
println("Cache file was deleted as there is an error during extraction")
println("Cache file: ${cacheFile.absolutePath}")
cacheFile.delete()
if (e.message != null) {
println("Error message: $e.message")
}
println()
throw e
}
generateMd5File(cacheFile)
}
}