Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/opencode/script/postinstall.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function main() {
}

// Create symlink to the actual binary
fs.symlinkSync(binaryPath, binScript)
fs.symlinkSync(path.relative(path.dirname(binScript), binaryPath), binScript)
console.log(`opencode binary symlinked: ${binScript} -> ${binaryPath}`)
} catch (error) {
console.error("Failed to create opencode binary symlink:", error.message)
Expand Down
Loading