()
| 83 | } |
| 84 | |
| 85 | private async getFinderPath(): Promise<string | null> { |
| 86 | try { |
| 87 | return await appleScriptHelper.getFinderPath() |
| 88 | } catch (error) { |
| 89 | console.error('[System] 获取访达路径失败:', error) |
| 90 | return null |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | private async getLastCopiedContent(timeLimit?: number): Promise<{ |
| 95 | type: 'text' | 'image' | 'file' |