Skip to content

v1.6.2 — Fix runtime permission prompt

Choose a tag to compare

@github-actions github-actions released this 17 Jun 03:52
· 23 commits to main since this release

Highlights

Fixes a runtime permission prompt that appeared on every launch of the compiled binary. After this release, gtm runs without asking for permissions.

What's fixed

🔐 No more Deno requests sys access prompt

The compiled binary was missing the --allow-sys permission. At runtime, googleapis' google-auth-library calls os.release() (i.e. Deno.osRelease(), a "sys" permission) when building its User-Agent header, so Deno interactively prompted on every launch:

⚠️  Deno requests sys access to "osRelease".
Allow? [y/n/A]

Compiled binaries don't remember permission grants, so the prompt came back every time. --allow-sys is now baked into the release build (and the dev/compile tasks), so the binary runs without prompting.

Note: this affected all platforms, not just Windows — it was simply more noticeable on a fresh Windows install.

🔧 CI maintenance

  • Upgraded GitHub Actions to their Node 24 versions (checkout v6, upload-artifact v7, download-artifact v8, action-gh-release v3) to clear the Node.js 20 deprecation warnings.

Upgrading

Windows (PowerShell): re-run the installer to pull this version:

irm https://raw.githubusercontent.com/dac-tech-team-tw/gtm-cli/main/install.ps1 | iex

Already installed (any platform):

gtm upgrade

Assets

  • gtm-windows-x64.exe — Windows (x64)
  • gtm-darwin-arm64 — macOS (Apple Silicon)
  • gtm-darwin-x64 — macOS (Intel)
  • gtm-linux-x64 — Linux (x64)

Full Changelog: v1.6.1...v1.6.2