Update Electron
This commit is contained in:
parent
cae6d582ac
commit
c84ee948f5
22 changed files with 763 additions and 152 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { findCredentials, getPassword, setPassword, deletePassword } from '@postman/node-keytar'
|
||||
|
||||
export function eventGetKeyChain(icpMain: Electron.IpcMain) {
|
||||
icpMain.handle('get-keyChain', async (_event, serviceName, account) => {
|
||||
icpMain.handle('get-keyChain', async (_event, { serviceName, account }) => {
|
||||
return getPassword(serviceName, account)
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue