Repository navigation
v1.6.2 — Fix runtime permission prompt
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 (
checkoutv6,upload-artifactv7,download-artifactv8,action-gh-releasev3) 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 | iexAlready installed (any platform):
gtm upgradeAssets
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