MCPcopy Create free account
hub / github.com/xpf0000/FlyEnv / openURL

Method openURL

src/render/components/OpenCode/setup.ts:143–149  ·  view source on GitHub ↗
(flag: 'home' | 'docs')

Source from the content-addressed store, hash-verified

141 }
142
143 openURL(flag: 'home' | 'docs') {
144 if (flag === 'home') {
145 shell.openExternal('https://github.com/sst/opencode').catch()
146 } else if (flag === 'docs') {
147 shell.openExternal('https://opencode.ai/docs/').catch()
148 }
149 }
150
151 async installOpenCode(domRef: Ref<HTMLElement>) {
152 if (this.installing) {

Callers

nothing calls this directly

Calls 1

catchMethod · 0.80

Tested by

no test coverage detected