ask auth for headless if there is no cookies, add download logs button for headless

This commit is contained in:
kulikov0 committed 2026-05-09 18:12:40 +02:00
1 parent 08bfbdaed7
commit 870118d5ab
9 files changed
+179 -24

No files matched your search

+6
View File
@@ -44,4 +44,10 @@ import { IPC } from '../constants';
onCloseBotTab(cb: (data: any) => void) {
ipcRenderer.on(IPC.CLOSE_BOT_TAB, (_e, data) => cb(data));
},
onLoginRequired(cb: (tabId: string, url: string) => void) {
ipcRenderer.on(IPC.LOGIN_REQUIRED, (_e, data) => cb(data.tabId, data.url));
},
onLoginDone(cb: (tabId: string) => void) {
ipcRenderer.on(IPC.LOGIN_DONE, (_e, data) => cb(data.tabId));
},
};