Skip to content

v0.1.0-rc.9

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Aug 17:08

token-usage v0.1.0-rc.9

Note: This is a pre-release (v0.1.0-rc.9) for testing; behavior may change before the stable release.

Fixed

  • Windows: renamed the update stage and helper files to avoid the word "update" — Windows security policy blocks executing files whose names contain "update" (ERROR_ELEVATION_REQUIRED, reproduced on ARM64 VMs); the stage file is now named token-usage-stage-*.exe
  • Failed version probes now clean up the downloaded stage file instead of leaving a ~24MB remnant

Assets

  • token-usage-darwin-arm64 — macOS (Apple Silicon)
  • token-usage-darwin-amd64 — macOS (Intel)
  • token-usage-windows-amd64.exe — Windows

Verify & install

  1. Download the asset for your platform and SHA256SUMS.
  2. Verify: shasum -a 256 token-usage-darwin-arm64 (Windows: certutil -hashfile token-usage-windows-amd64.exe SHA256).
  3. Make it executable (macOS/Linux) and run ./token-usage version.

token-usage v0.1.0-rc.9(中文说明)

提示: 本版本为预发布(v0.1.0-rc.9),仅供测试;稳定版发布前行为可能调整。

修复

  • Windows:更新 stage 与 helper 文件名避开 "update" 字样——Windows 安全策略会拦截执行文件名含 "update" 的可执行文件(ERROR_ELEVATION_REQUIRED,ARM64 VM 实机复现);stage 文件现命名为 token-usage-stage-*.exe
  • 版本探针失败时清理已下载的 stage 文件,不再残留 ~24MB 大文件

资产

  • token-usage-darwin-arm64 — macOS(Apple 芯片)
  • token-usage-darwin-amd64 — macOS(Intel)
  • token-usage-windows-amd64.exe — Windows

校验与安装

  1. 下载与你平台匹配的资产以及 SHA256SUMS
  2. 校验:shasum -a 256 token-usage-darwin-arm64(Windows:certutil -hashfile token-usage-windows-amd64.exe SHA256)。
  3. 赋予执行权限(macOS/Linux)并运行 ./token-usage version