add clear cookies button

This commit is contained in:
kulikov0 committed 2026-05-30 15:51:26 +02:00
1 parent 000447b77c
commit da571a645b
8 files changed
+76

No files matched your search

+3
View File
@@ -26,6 +26,9 @@ import { IPC } from '../constants';
setUpstreamProxy(proxy: any) {
return ipcRenderer.invoke(IPC.SET_UPSTREAM_PROXY, proxy);
},
clearCookies(platform: string) {
return ipcRenderer.invoke(IPC.CLEAR_COOKIES, platform);
},
onCreateBotTab(cb: (data: any) => void) {
ipcRenderer.on(IPC.CREATE_BOT_TAB, (_e, data) => cb(data));
},