aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ipm/utils/freeze.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipm/utils/freeze.py b/src/ipm/utils/freeze.py
index db9f508..1ba0d9f 100644
--- a/src/ipm/utils/freeze.py
+++ b/src/ipm/utils/freeze.py
@@ -55,8 +55,10 @@ def extract_ipk(
if not hash_path.exists():
raise VerifyFailed(f"哈希文件[{hash_path}]不存在!")
+ info("进行文件校验中...")
if not ifp_verify(ifp_path, hash_path.read_bytes()):
raise VerifyFailed("文件完整性验证失败!")
+ info("文件校验成功.")
temp_dir = tempfile.TemporaryDirectory()