Skip to content

Releases: WanQTs/GoHashTool

v1.3.0

Choose a tag to compare

@WanQTs WanQTs released this 21 Sep 13:19

v1.3.0 — 新增 CLI 命令行模式(语法对标 md5sum/sha256sum)/ New CLI mode (md5sum/sha256sum-style).

更新 / What's New

  • 同一个 exe 即命令行工具:终端中带参数调用自动进入 CLI;无参数、或仅一个清单文件参数时仍打开图形界面(双击清单行为不变)
  • 哈希计算:gohash setup.iso(默认 SHA-256);-a 多算法一次扫描(可重复或逗号分隔);目录递归、通配符自行展开
  • 校验:gohash -c list.sha256(md5sum -c 兼容,逐行 OK/FAILED);--quiet 只看失败行、--status 完全静默只看退出码
  • 单算法输出为严格 md5sum 格式:gohash -a sha256 dir > list.sha256 的产物可被 gohash -c 与 GNU sha256sum 直接复用(计算→校验闭环)
  • 退出码 0/1/2(全部成功 / 有失败或不一致 / 用法或清单错误),脚本与管道友好
  • GBK 控制台下中文路径不乱码(控制台输出走 WriteConsoleW,不改动父控制台代码页)
  • The same exe is now a CLI tool: passing arguments in a terminal enters CLI mode; no arguments — or a single manifest argument — still opens the GUI (double-click behavior unchanged)
  • Hash: gohash setup.iso (SHA-256 by default); -a runs multiple algorithms in one scan (repeatable or comma-separated); directories recurse, wildcards expand
  • Verify: gohash -c list.sha256 (md5sum -c compatible, per-line OK/FAILED); --quiet hides OK lines, --status reports via exit code only
  • Single-algorithm output is strict md5sum format — the product of gohash -a sha256 dir > list.sha256 can be re-verified by both gohash -c and GNU sha256sum
  • Exit codes 0/1/2 (all OK / failures / usage or manifest error), friendly to scripts and pipes
  • Non-ASCII paths render correctly even on GBK consoles (WriteConsoleW, no code-page changes)

下载 / Downloads

文件 体积 说明
GoHashTool-v1.3.0-windows-amd64.exe 10.6 MB 标准版
GoHashTool-v1.3.0-windows-amd64-upx.exe 3.7 MB UPX 压缩版

单文件绿色软件,双击即用,无需安装。需 Windows 10/11 64 位与 WebView2 运行时(Win11 已预装;缺少时会提示安装)。
Portable single-file exe. Requires 64-bit Windows 10/11 and the WebView2 Runtime (preinstalled on Windows 11).

质量验证 / Verification

  • go test ./...go test -race ./...go vetgofmt 全部通过;前端 vitest 29/29
  • exe --selftest 无界面自检(已知值 / SUM 闭环 / 清单解析)退出码 0(标准版与 UPX 版均验证)
  • CLI 实测:md5 已知值精确匹配、md5sum 格式输出、-c 校验闭环、篡改/缺失/坏清单退出码 1/1/2

Full Changelog: v1.2.1...v1.3.0

GoHashTool v1.2.1

Choose a tag to compare

@WanQTs WanQTs released this 17 Aug 15:19

v1.2.1 — 文件关联改为显式开关(绿色软件定位修正)/ File association becomes opt-in.

更新 / What's New

  • 文件关联改为设置里的显式开关(顶栏齿轮 → 文件关联),默认关闭:不再启动时自动写注册表,恢复单文件绿色软件零足迹
  • 一键解除:只删除本应用自有 ProgID 条目;v1.2.0 自动写入的关联可用此开关一键清除;被其他程序占用的扩展名从不劫持
  • exe 移动后自愈:已注册的情况下,启动时自动把打开命令更新为新路径
  • File association is now an explicit opt-in switch (title-bar gear → File Association, off by default): no more silent registry writes on startup — the portable exe leaves zero footprint
  • One-click removal, deleting only this app's own ProgID entries (associations auto-written by v1.2.0 can be cleared this way); extensions owned by other apps are never hijacked
  • Path self-heal: when registered, the open command follows the exe if you move it

下载 / Downloads

文件 体积 说明
GoHashTool-v1.2.1-windows-amd64.exe 10.6 MB 标准版
GoHashTool-v1.2.1-windows-amd64-upx.exe 3.7 MB UPX 压缩版

单文件绿色软件,双击即用,无需安装。需 Windows 10/11 64 位与 WebView2 运行时(Win11 已预装;缺少时会提示安装)。
Portable single-file exe. Requires 64-bit Windows 10/11 and the WebView2 Runtime (preinstalled on Windows 11).

质量验证 / Verification

  • go test ./...go test -race ./...go vetgofmt 全部通过;前端 vitest 29/29
  • exe --selftest 无界面自检(已知值 / SUM 闭环 / 清单解析)退出码 0(标准版与 UPX 版均验证)
  • 冒烟实测:冷启动 ~0.5s,启动后 RSS ~46MB

Full Changelog: v1.2.0...v1.2.1

GoHashTool v1.2.0

Choose a tag to compare

@WanQTs WanQTs released this 17 Aug 14:04

v1.2.0 — Wails v3 系统集成版 / System-integration release.

更新 / What's New

  • 单实例运行:重复启动聚焦已有窗口;已在运行时双击清单文件,直接把清单转交当前窗口
  • 清单文件关联:双击 .sha256/.sha1/.sha512/.md5/.sum/.sums 清单直接打开批量校验并自动开始(注册到当前用户 HKCU,免管理员;已被其他程序占用的扩展名跳过不劫持,.txt 只识别不注册)
  • 任务完成提醒:任务结束时窗口不在前台则任务栏闪烁,回到前台自动停止
  • 窗口置顶:顶栏图钉一键置顶(会话级)
  • 结果行原生右键菜单:复制哈希值(多算法子菜单)/ 复制路径 / 在资源管理器中显示
  • Single instance: relaunching focuses the running window; manifest files opened while running are forwarded to it
  • File associations: double-click .sha256/.md5 etc. manifests to open Batch Verify and start automatically (per-user HKCU registration; extensions owned by other apps are left alone)
  • Taskbar flash when a task finishes while the window is in the background
  • Always-on-top toggle in the title bar (session-scoped)
  • Native result-row context menu: copy hash (per-algorithm submenu) / copy path / show in Explorer

下载 / Downloads

文件 体积 说明
GoHashTool-v1.2.0-windows-amd64.exe 10.5 MB 标准版
GoHashTool-v1.2.0-windows-amd64-upx.exe 3.7 MB UPX 压缩版

单文件绿色软件,双击即用,无需安装。需 Windows 10/11 64 位与 WebView2 运行时(Win11 已预装;缺少时会提示安装)。
Portable single-file exe. Requires 64-bit Windows 10/11 and the WebView2 Runtime (preinstalled on Windows 11).

质量验证 / Verification

  • go test ./...go test -race ./...go vetgofmt 全部通过;前端 vitest 29/29
  • exe --selftest 无界面自检(已知值 / SUM 闭环 / 清单解析)退出码 0(标准版与 UPX 版均验证)
  • 冒烟实测:冷启动 ~0.5s,启动后 RSS ~46MB

Full Changelog: v1.1.0...v1.2.0

GoHashTool v1.1.0

Choose a tag to compare

@WanQTs WanQTs released this 17 Aug 12:22

v1.1.0 — 验收复核改良版 / Acceptance-review improvements.

更新 / What's New

  • 单文件校验新增 CRC32:粘贴 8 位十六进制哈希自动识别(8=CRC32、32=MD5、40=SHA-1、64=SHA-256、128=SHA-512)
  • 超大目录体验改良:目录展开移入任务线程,巨型目录树不再阻塞任务启动;扫描期间实时显示「已发现 N 个文件」,扫描阶段也可随时取消
  • 导出加固:唯一临时文件名 + 串行写盘,并发/重复导出同一路径不会产生半截文件或间歇性失败
  • Verify page now auto-detects CRC32 (8-char hex) alongside MD5 / SHA-1 / SHA-256 / SHA-512
  • Huge-folder scans no longer block startup: expansion runs inside the task with live "files found" progress and is cancellable
  • Hardened export: unique temp file name + serialized writes (no more partial files or intermittent rename failures)

下载 / Downloads

文件 体积 说明
GoHashTool-v1.1.0-windows-amd64.exe 10.5 MB 标准版
GoHashTool-v1.1.0-windows-amd64-upx.exe 3.7 MB UPX 压缩版

单文件绿色软件,双击即用,无需安装。需 Windows 10/11 64 位与 WebView2 运行时(Win11 已预装;缺少时会提示安装)。
Portable single-file exe. Requires 64-bit Windows 10/11 and the WebView2 Runtime (preinstalled on Windows 11).

质量验证 / Verification

  • go test ./...go test -race ./...go vetgofmt 全部通过;前端 vitest 27/27
  • exe --selftest 无界面自检(已知值 / SUM 闭环 / 清单解析)退出码 0(标准版与 UPX 版均验证)
  • 冒烟实测:冷启动 ~1.2s,启动后 RSS ~34MB

Full Changelog: v1.0.0...v1.1.0

GoHashTool v1.0.0

Choose a tag to compare

@WanQTs WanQTs released this 16 Aug 17:23

首个正式发布 / First release — 基于 Wails v3(v3.0.0-beta.9)+ Go + Vue 3。

亮点 / Highlights

  • 四大功能页:哈希计算 / 单文件校验 / 双文件对比 / 批量校验(md5sum、sha256sum 标准清单导入,SUM 导出可回导闭环)
  • Mica 云母窗口(Win11,低版本自动回退)、浅色/深色主题跟随系统、中英双语即时切换
  • 流式引擎:1GB 文件 SHA-256 实测 0.42s;1 万个小文件 0.08s;任意大小文件内存恒定
  • 结构化双语错误、任务随时取消、原子导出、longPathAware 长路径支持

下载 / Downloads

文件 体积 说明
GoHashTool-v1.0.0-windows-amd64.exe 10.5 MB 标准版
GoHashTool-v1.0.0-windows-amd64-upx.exe 3.7 MB UPX 压缩版

单文件绿色软件,双击即用,无需安装。需 Windows 10/11 64 位与 WebView2 运行时(Win11 已预装;缺少时会提示安装)。
Portable single-file exe. Requires 64-bit Windows 10/11 and the WebView2 Runtime (preinstalled on Windows 11).

质量验证 / Verification

  • go test ./...go test -race ./...go vetgofmt 全部通过;前端 vitest 22/22
  • exe --selftest 无界面自检(已知值 / SUM 闭环 / 清单解析)退出码 0
  • 冒烟实测:冷启动 ~0.45s,启动后 RSS ~33MB