feat: 支持Mac Intel获取密钥, 提供完整支持

This commit is contained in:
电摇小子 committed 2026-09-13 20:08:40 +08:00
1 parent 9288256a5e
commit 70c55442f3
18 files changed
+384 -26

No files matched your search

+5
View File
@@ -462,6 +462,11 @@ declare global {
value?: string
error?: string
}>
installIntelMacKeyRuntime: () => Promise<{
success: boolean
error?: string
code?: string
}>
autoGetDbKey: (
accountRoot: string,
options?: { save?: boolean }
+1
View File
@@ -377,6 +377,7 @@ const api = {
getSavedDbKey: (accountRoot: string) => ipcRenderer.invoke('key:getSavedDbKey', accountRoot),
getDatabaseKeyEnvironment: () => ipcRenderer.invoke('key:getEnvironment'),
readDatabaseKeyClipboard: () => ipcRenderer.invoke('key:readClipboardDbKey'),
installIntelMacKeyRuntime: () => ipcRenderer.invoke('key:installIntelMacRuntime'),
autoGetDbKey: (accountRoot: string, options?: { save?: boolean }) =>
ipcRenderer.invoke('key:autoGetDbKey', accountRoot, options),
autoGetImageKey: (options?: { save?: boolean }) =>