dsh-zip-verify

交付包打出来之后,先验证它真能原样还原。`zip_verify` 逐条解压、核对 CRC32、按哈希与源目录逐文件对账,并报出只能按 GBK 解码的条目名和未打 UTF-8 标记的中文名;`zip_list` 只列条目的大小与压缩方式,不做校验。它自己读中央目录而不依赖外部解压工具,因此不会把一份完全正常的 Compress-Archive 输出看成乱码。

工作流自动化AGPL-3.0☆ 0

插件介绍

交付包打出来之后,先验证它真能原样还原。`zip_verify` 逐条解压、核对 CRC32、按哈希与源目录逐文件对账,并报出只能按 GBK 解码的条目名和未打 UTF-8 标记的中文名;`zip_list` 只列条目的大小与压缩方式,不做校验。它自己读中央目录而不依赖外部解压工具,因此不会把一份完全正常的 Compress-Archive 输出看成乱码。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Lee2277-t/dsh-zip-verify

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。

安装提示

  • 可能调用终端命令