storing cookies not working so whatever move on

This commit is contained in:
talksik
2022-03-17 20:16:43 -04:00
parent 34fe8e0c29
commit 444c116f1b
4 changed files with 2 additions and 19 deletions
-9
View File
@@ -13,15 +13,6 @@ const electronAPI = {
},
batteryApi: {},
fileApi: {},
store: {
get(val: string) {
return ipcRenderer.sendSync("electron-store-get", val);
},
set(property: string, val: any) {
ipcRenderer.send("electron-store-set", property, val);
},
// Other method you want to add like has(), reset(), etc.
},
};
contextBridge.exposeInMainWorld("electronAPI", electronAPI);