dion: add email/password to fix cookie expiration

This commit is contained in:
kulikov0 committed 2026-07-26 11:21:17 +02:00
1 parent a7b7fba0a6
commit 6c732f34e3
12 files changed
+388 -63

No files matched your search

+6
View File
@@ -32,6 +32,12 @@ import { IPC } from '../constants';
clearCookies(platform: string) {
return ipcRenderer.invoke(IPC.CLEAR_COOKIES, platform);
},
getDionCredentials() {
return ipcRenderer.invoke(IPC.GET_DION_CREDENTIALS);
},
setDionCredentials(email: string, password: string) {
return ipcRenderer.invoke(IPC.SET_DION_CREDENTIALS, email, password);
},
onCreateBotTab(cb: (data: any) => void) {
ipcRenderer.on(IPC.CREATE_BOT_TAB, (_e, data) => cb(data));
},