支持单位授权与客户端限制

This commit is contained in:
Codex
2026-06-01 11:58:14 +08:00
parent 28adc8143a
commit c136cc2cc8
36 changed files with 861 additions and 49 deletions

View File

@@ -503,6 +503,7 @@ contextBridge.exposeInMainWorld("electronAPI", {
openReleasesPage: () => ipcRenderer.invoke("app:openReleasesPage"),
getUpdateDebugInfo: () => ipcRenderer.invoke("app:getUpdateDebugInfo"),
getDeviceId: () => ipcRenderer.invoke("app:getDeviceId"),
getPrimaryLocalIp: () => ipcRenderer.invoke("app:getPrimaryLocalIp"),
},
// Permissions (macOS)