feat: electron only

This commit is contained in:
shano
2025-09-10 01:11:06 +08:00
parent 2a8d0f2066
commit 08f7e5adfe
5 changed files with 37 additions and 18 deletions

View File

@@ -22,6 +22,7 @@ interface API {
onLanguageChanged: (callback: (locale: string) => void) => void;
removeDownloadListeners: () => void;
invoke: (channel: string, ...args: any[]) => Promise<any>;
getSearchSuggestions: (keyword: string) => Promise<any>;
}
// 自定义IPC渲染进程通信接口