MCPcopy
hub / github.com/ZToolsCenter/ZTools / openExternal

Method openExternal

src/main/api/renderer/system.ts:58–65  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

56 }
57
58 private async openExternal(url: string): Promise<void> {
59 try {
60 await shell.openExternal(url)
61 } catch (error) {
62 console.error('[System] 打开外部链接失败:', error)
63 throw error
64 }
65 }
66
67 private async copyToClipboard(text: string): Promise<void> {
68 try {

Callers 7

setupIPCMethod · 0.95
launchAppFunction · 0.80
setupIPCMethod · 0.80
handleWebSearchFunction · 0.80
handleOpenWebpageFunction · 0.80
handleOpenUrlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected