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