commit
dbabbcdbfe
|
@ -10,7 +10,7 @@ import Store from 'electron-store'
|
|||
const store = new Store()
|
||||
ipcMain.handle(
|
||||
'electron-store',
|
||||
async (_evnet, methodSign: string, ...args: any[]) => {
|
||||
async (_event, methodSign: string, ...args: any[]) => {
|
||||
if (typeof (store as any)[methodSign] === 'function') {
|
||||
return (store as any)[methodSign](...args)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue