From 4d48a533b7fac5509dd4b52e8b8500ee91423533 Mon Sep 17 00:00:00 2001 From: suyao Date: Mon, 26 May 2025 18:22:13 +0800 Subject: [PATCH] refactor: remove binaryImage method from api in preload index --- src/preload/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/preload/index.ts b/src/preload/index.ts index b02d7802a..7d98eb932 100644 --- a/src/preload/index.ts +++ b/src/preload/index.ts @@ -81,7 +81,6 @@ const api = { download: (url: string, isUseContentType?: boolean) => ipcRenderer.invoke(IpcChannel.File_Download, url, isUseContentType), copy: (fileId: string, destPath: string) => ipcRenderer.invoke(IpcChannel.File_Copy, fileId, destPath), - binaryImage: (fileId: string) => ipcRenderer.invoke(IpcChannel.File_BinaryImage, fileId), base64File: (fileId: string) => ipcRenderer.invoke(IpcChannel.File_Base64File, fileId), getPathForFile: (file: File) => webUtils.getPathForFile(file) },