Przeglądaj źródła

add HOMEBREW_NO_AUTO_UPDATE to brew upgrades

Dax Raad 8 miesięcy temu
rodzic
commit
01d351bebe
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      packages/opencode/src/installation/index.ts

+ 3 - 1
packages/opencode/src/installation/index.ts

@@ -115,7 +115,9 @@ export namespace Installation {
         case "bun":
         case "bun":
           return $`bun install -g opencode-ai@${target}`
           return $`bun install -g opencode-ai@${target}`
         case "brew":
         case "brew":
-          return $`brew install sst/tap/opencode`
+          return $`brew install sst/tap/opencode`.env({
+            HOMEBREW_NO_AUTO_UPDATE: "1",
+          })
         default:
         default:
           throw new Error(`Unknown method: ${method}`)
           throw new Error(`Unknown method: ${method}`)
       }
       }