dion: add email/password to fix cookie expiration
This commit is contained in:
1 parent
a7b7fba0a6
commit
6c732f34e3
12 files changed
+388
-63
No files matched your search
@@ -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));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user