feat: v0.2.0 导出差异报告 - HTML/纯文本/Markdown 三种格式

This commit is contained in:
2026-08-17 17:40:09 +08:00
parent fb9a202d97
commit ff0018e6d3
10 changed files with 351 additions and 10 deletions
+2
View File
@@ -14,6 +14,8 @@ const api = {
ipcRenderer.invoke('file:open', side ?? null),
decodeBuffer: (buffer: ArrayBuffer): Promise<{ text: string; encoding: string }> =>
ipcRenderer.invoke('file:decode-buffer', buffer),
saveReport: (content: string, defaultName: string): Promise<{ ok: boolean; path: string | null }> =>
ipcRenderer.invoke('file:save-report', content, defaultName),
showInFolder: (filePath: string): Promise<boolean> =>
ipcRenderer.invoke('file:show-in-folder', filePath),
setClipboard: (text: string): Promise<boolean> =>