File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,26 +11,26 @@ name = "OpenCode"
1111icon = " ./icons/opencode.svg"
1212
1313[agent_servers .opencode .targets .darwin-aarch64 ]
14- archive = " https://github.com/sst/opencode/releases/v1.0.44/download /opencode-darwin-arm64.zip"
14+ archive = " https://github.com/sst/opencode/releases/download/ v1.0.44/opencode-darwin-arm64.zip"
1515cmd = " ./opencode"
1616args = [" acp" ]
1717
1818[agent_servers .opencode .targets .darwin-x86_64 ]
19- archive = " https://github.com/sst/opencode/releases/v1.0.44/download /opencode-darwin-x64.zip"
19+ archive = " https://github.com/sst/opencode/releases/download/ v1.0.44/opencode-darwin-x64.zip"
2020cmd = " ./opencode"
2121args = [" acp" ]
2222
2323[agent_servers .opencode .targets .linux-aarch64 ]
24- archive = " https://github.com/sst/opencode/releases/v1.0.44/download /opencode-linux-arm64.zip"
24+ archive = " https://github.com/sst/opencode/releases/download/ v1.0.44/opencode-linux-arm64.zip"
2525cmd = " ./opencode"
2626args = [" acp" ]
2727
2828[agent_servers .opencode .targets .linux-x86_64 ]
29- archive = " https://github.com/sst/opencode/releases/v1.0.44/download /opencode-linux-x64.zip"
29+ archive = " https://github.com/sst/opencode/releases/download/ v1.0.44/opencode-linux-x64.zip"
3030cmd = " ./opencode"
3131args = [" acp" ]
3232
3333[agent_servers .opencode .targets .windows-x86_64 ]
34- archive = " https://github.com/sst/opencode/releases/v1.0.44/download /opencode-windows-x64.zip"
34+ archive = " https://github.com/sst/opencode/releases/download/ v1.0.44/opencode-windows-x64.zip"
3535cmd = " ./opencode.exe"
3636args = [" acp" ]
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ for (const file of pkgjsons) {
8787const extensionToml = new URL ( "../packages/extensions/zed/extension.toml" , import . meta. url ) . pathname
8888let toml = await Bun . file ( extensionToml ) . text ( )
8989toml = toml . replace ( / ^ v e r s i o n = " [ ^ " ] + " / m, `version = "${ Script . version } "` )
90- toml = toml . replaceAll ( / r e l e a s e s \/ v [ ^ / ] + \/ / g, `releases/v${ Script . version } /` )
90+ toml = toml . replaceAll ( / r e l e a s e s \/ d o w n l o a d \/ v [ ^ / ] + \/ / g, `releases/download /v${ Script . version } /` )
9191console . log ( "updated:" , extensionToml )
9292await Bun . file ( extensionToml ) . write ( toml )
9393
You can’t perform that action at this time.
0 commit comments