[PR #1700] [MERGED] Reference the actual name of the windows package #10026

Closed
opened 2026-02-16 18:14:34 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1700
Author: @chjudge
Created: 8/7/2025
Status: Merged
Merged: 8/8/2025
Merged by: @thdxr

Base: devHead: windows-package-name


📝 Commits (1)

  • 8fc86e5 update postinstall and cmd script to reference the actual name of the windows package

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 packages/opencode/bin/opencode.cmd (+1 -1)
📝 packages/opencode/script/postinstall.mjs (+2 -2)

📄 Description

This fixes one of the two issues I've been having to work around to install with bun on windows. As seen in this reply on the windows super issue the postinstall script looks for opencode-win32-x64 but the actual name of the package is opencode-windows-x64 which causes it to fail. Same result would be achieved by renaming the package if that would be preferred for some reason.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1700 **Author:** [@chjudge](https://github.com/chjudge) **Created:** 8/7/2025 **Status:** ✅ Merged **Merged:** 8/8/2025 **Merged by:** [@thdxr](https://github.com/thdxr) **Base:** `dev` ← **Head:** `windows-package-name` --- ### 📝 Commits (1) - [`8fc86e5`](https://github.com/anomalyco/opencode/commit/8fc86e500c6017856a2c94a453311176c52c828b) update postinstall and cmd script to reference the actual name of the windows package ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/bin/opencode.cmd` (+1 -1) 📝 `packages/opencode/script/postinstall.mjs` (+2 -2) </details> ### 📄 Description This fixes one of the two issues I've been having to work around to install with bun on windows. As seen in [this reply](https://github.com/sst/opencode/issues/631#issuecomment-3094840081) on the windows super issue the postinstall script looks for `opencode-win32-x64` but the actual name of the package is `opencode-windows-x64` which causes it to fail. Same result would be achieved by renaming the package if that would be preferred for some reason. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:34 -05:00
yindo closed this issue 2026-02-16 18:14:34 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10026