Update Electron

This commit is contained in:
Kenta420 2024-03-15 14:10:24 +07:00
parent cae6d582ac
commit c84ee948f5
22 changed files with 763 additions and 152 deletions

View file

@ -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)
})