chore: clean macos integration leftovers

This commit is contained in:
ILoveBinglu
2026-04-06 22:10:36 +08:00
parent 252d2aa487
commit d4db5fd715
6 changed files with 19 additions and 78 deletions
-10
View File
@@ -158,16 +158,6 @@ contextBridge.exposeInMainWorld('electronAPI', {
}
},
// Windows Hello 原生验证 (比 WebAuthn 更快)
windowsHello: {
isAvailable: () => ipcRenderer.invoke('windowsHello:isAvailable') as Promise<boolean>,
verify: (message?: string) => ipcRenderer.invoke('windowsHello:verify', message) as Promise<{
success: boolean
result: number // WindowsHelloResult 枚举值
error?: string
}>
},
systemAuth: {
getStatus: () => ipcRenderer.invoke('systemAuth:getStatus') as Promise<{
platform: string