mirror of
https://github.com/ILoveBingLu/CipherTalk.git
synced 2026-05-24 05:20:23 +08:00
chore: clean macos integration leftovers
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user