storing cookies not working so whatever move on
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user