Revert "cache platform binary in postinstall for faster startup" (#14457)
This commit is contained in:
parent
c79f1a72d8
commit
1ffed2fa6c
2 changed files with 4 additions and 13 deletions
|
|
@ -25,11 +25,6 @@ if (envPath) {
|
|||
const scriptPath = fs.realpathSync(__filename)
|
||||
const scriptDir = path.dirname(scriptPath)
|
||||
|
||||
const cached = path.join(scriptDir, ".opencode")
|
||||
if (fs.existsSync(cached)) {
|
||||
run(cached)
|
||||
}
|
||||
|
||||
const platformMap = {
|
||||
darwin: "darwin",
|
||||
linux: "linux",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue