Hide admin settings on electron and fix server manager URl verification

This commit is contained in:
LukeGus
2025-09-11 17:42:20 -05:00
parent 54fb8ffc24
commit f0d5ebb2f6
4 changed files with 52 additions and 224 deletions

View File

@@ -30,9 +30,6 @@ contextBridge.exposeInMainWorld('electronAPI', {
// Generic invoke method
invoke: (channel, ...args) => ipcRenderer.invoke(channel, ...args),
// OIDC handlers
oidcSuccess: (data) => ipcRenderer.invoke('oidc-success', data),
oidcError: (data) => ipcRenderer.invoke('oidc-error', data)
});
// Also set the legacy IS_ELECTRON flag for backward compatibility