(path: string)
| 74 | } |
| 75 | |
| 76 | private async openTerminal(path: string): Promise<void> { |
| 77 | try { |
| 78 | await appleScriptHelper.openInTerminal(path) |
| 79 | } catch (error) { |
| 80 | console.error('[System] 在终端打开失败:', error) |
| 81 | throw error |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | private async getFinderPath(): Promise<string | null> { |
| 86 | try { |
no test coverage detected