Skip to content

feat(windows): ✨ add native installation and setup support - #8

Merged
AndroidPoet merged 2 commits into
AndroidPoet:masterfrom
alsd4git:windows-support
Sep 10, 2026
Merged

feat(windows): ✨ add native installation and setup support#8
AndroidPoet merged 2 commits into
AndroidPoet:masterfrom
alsd4git:windows-support

Conversation

@alsd4git

@alsd4git alsd4git commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Why

The Go binary already builds for Windows, but the repository had no native Windows installation path.

The existing install.sh advertised Windows support but relied on Unix-only behavior such as mv, chmod, and symlinks, which could fail under Git Bash/MSYS.

What changed

  • Added a native PowerShell installer for Windows.
  • Added support for Windows amd64 and arm64 release archives.
  • Installed playconsole-cli.exe and a gpc.exe alias in the user-local programs directory.
  • Added the install directory to the user PATH.
  • Fixed the Git Bash installer path for Windows, including .exe handling and alias creation without symlinks.
  • Added Google Cloud CLI installation through winget in setup --auto.
  • Documented Windows installation and development workflows.
  • Added a Windows build and test job to CI.
  • Corrected authentication profile examples in the command documentation.

Validation

Tested on Windows 11:

  • PowerShell installer tested end to end against release 0.5.15.
  • playconsole-cli.exe version and gpc.exe version verified.
  • Native Windows build passed.
  • GOOS=windows GOARCH=amd64 build passed.
  • internal/api and internal/cli tests passed.

Compatibility

No API changes were introduced. Linux and macOS behavior remains unchanged.

alsd4git and others added 2 commits September 10, 2026 10:18
Add a PowerShell installer and fix Git Bash handling for Windows releases.

Install Google Cloud CLI through winget during automated setup, document Windows workflows, and run build/test checks on a Windows CI runner.
@AndroidPoet

Copy link
Copy Markdown
Owner

Thanks a lot for this, the PowerShell installer and the winget path were exactly what was missing. I rebased your branch onto current master (your commit and authorship are intact) and made two adjustments:

  • Dropped the install.sh and docs/commands.md hunks. Master had already picked up .exe handling, the copy-based gpc.exe alias, zip extraction, and the --name flag docs in the audit that landed the day before your PR, so those were the only conflict and are now redundant.
  • Pointed install.ps1 at master, not main. The repo's default branch is master; the old main URL you copied was itself a bug that the audit had fixed for install.sh. With main the irm | iex one-liner would 404.

Verified on Windows 11 (PowerShell 5.1): irm | iex-style run, GPC_VERSION pin, repeat run keeps a single PATH entry, bad version fails cleanly, no temp leftovers; gpc.exe version and playconsole-cli.exe version both report 0.5.16. go build, go vet, gofmt, and go test ./... pass on the rebased tree, and Google.CloudSDK resolves in winget. Merging once CI is green; this ships in the next release.

@AndroidPoet
AndroidPoet merged commit aa0b97a into AndroidPoet:master Sep 10, 2026
4 checks passed
@alsd4git

Copy link
Copy Markdown
Contributor Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants