feat: v0.2.0 导出差异报告 - HTML/纯文本/Markdown 三种格式
This commit is contained in:
@@ -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> =>
|
||||
|
||||
Reference in New Issue
Block a user