(url: string)
| 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 { |
no outgoing calls
no test coverage detected