Repository navigation
Conversation
soroshsabz
left a comment
There was a problem hiding this comment.
Please Add example with Install-WinGetPackage based on https://www.powershellgallery.com/packages/Microsoft.WinGet.Client
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Refs #49554
Stacked on #54808. Merge that first; GitHub will then retarget this PR to
dev.Type of change
What does this PR do?
Adds the WinGet install commands from #54808 to the places that list V2 install methods:
services/www/src/docs/content/index.mdx): awingettab in the CLI install tabs, and a WinGet command for Desktop on Windows. Also removes the "Windows package managers are not supported." line.packages/console/app/src/routes/download/index.tsx): copyable rows forwinget install --id Anomaly.OpenCode -e(terminal) andwinget install --id Anomaly.OpenCode.Desktop -e(desktop).packages/console/app/src/routes/index.tsx): awingettab next tobrew.The root READMEs still describe the V1 install methods (scoop, choco,
opencode-ai), so I left them out of this PR.Don't merge this until winget-pkgs has accepted the first
Anomaly.OpenCodeandAnomaly.OpenCode.Desktopsubmissions. Until then, these commands fail with "No package found".How did you verify your code works?
services/www:bun typecheck,bun run check:generatedandbun run buildall pass. In the built output, the newpowershellcode block is highlighted.packages/console/app:bun typecheckpasses, and prettier reports no issues on the changed files.textContent, which produceswinget install --id Anomaly.OpenCode -e.Screenshots / recordings
I didn't take screenshots. The new rows and the tab reuse the existing
cli-rowand tab components unchanged.Checklist