diff options
| author | Aiden Cline <[email protected]> | 2026-01-12 23:07:35 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-01-13 01:07:35 -0600 |
| commit | 2072c8681a78653aee1f221f2761a8c4c517c7a3 (patch) | |
| tree | a951beb53bc2380de78c500d5a7197d63c7a424b | |
| parent | 21990621e243ddd63485d5ad2400c44f00ecb191 (diff) | |
| download | opencode-2072c8681a78653aee1f221f2761a8c4c517c7a3.tar.gz opencode-2072c8681a78653aee1f221f2761a8c4c517c7a3.zip | |
fix: remove the symlinkBinary function call that replaces the wrapper script (#8133)
Co-authored-by: Chuck Chen <[email protected]>
| -rw-r--r-- | packages/opencode/script/postinstall.mjs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/opencode/script/postinstall.mjs b/packages/opencode/script/postinstall.mjs index 78f022c9f..14103895a 100644 --- a/packages/opencode/script/postinstall.mjs +++ b/packages/opencode/script/postinstall.mjs @@ -106,8 +106,11 @@ async function main() { return } - const { binaryPath, binaryName } = findBinary() - symlinkBinary(binaryPath, binaryName) + // On non-Windows platforms, just verify the binary package exists + // Don't replace the wrapper script - it handles binary execution + const { binaryPath } = findBinary() + console.log(`Platform binary verified at: ${binaryPath}`) + console.log("Wrapper script will handle binary execution") } catch (error) { console.error("Failed to setup opencode binary:", error.message) process.exit(1) |
