single export cookies button

This commit is contained in:
kulikov0 committed 2026-05-16 08:32:36 +02:00
1 parent b341370904
commit beccc40522
12 files changed
+158 -132

No files matched your search

+2 -2
View File
@@ -32,8 +32,8 @@ import { IPC } from '../constants';
onBotError(cb: (msg: string) => void) {
ipcRenderer.on(IPC.BOT_ERROR, (_e, msg) => cb(msg));
},
getCookies(domain: string) {
return ipcRenderer.invoke(IPC.GET_COOKIES, domain);
exportCookiesZip() {
return ipcRenderer.invoke(IPC.EXPORT_COOKIES_ZIP);
},
startHeadless(tabId: string, platform: string, args: any) {
return ipcRenderer.invoke(IPC.START_HEADLESS, tabId, platform, args);