add clear cookies button
This commit is contained in:
1 parent
000447b77c
commit
da571a645b
8 files changed
+76
No files matched your search
@@ -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));
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user