diff options
| author | 2024-01-22 12:35:23 +0800 | |
|---|---|---|
| committer | 2024-01-22 12:35:23 +0800 | |
| commit | e8952a23ba623f5bbf43b10d5a00ca94387d9c35 (patch) | |
| tree | 29cf71fdbc59f70078c6ddbc00dc28bc21d4d510 | |
| parent | b2db4075da3af6eb7880d2a85b1e8dde13ffeb6f (diff) | |
| download | ipm-e8952a23ba623f5bbf43b10d5a00ca94387d9c35.tar.gz ipm-e8952a23ba623f5bbf43b10d5a00ca94387d9c35.zip | |
:sparkles: feat(freeze): add verify log output
| -rw-r--r-- | src/ipm/utils/freeze.py | 2 |
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() |
