feat: implement manual per-account refresh for instant ban and cooldown updates

This commit is contained in:
2026-02-21 04:16:41 +01:00
parent cf78e3c329
commit c208ecea95
4 changed files with 93 additions and 35 deletions

View File

@@ -19,6 +19,7 @@ contextBridge.exposeInMainWorld('electronAPI', {
loginToServer: () => ipcRenderer.invoke('login-to-server'),
getServerUserInfo: () => ipcRenderer.invoke('get-server-user-info'),
syncNow: () => ipcRenderer.invoke('sync-now'),
scrapeAccount: (steamId: string) => ipcRenderer.invoke('scrape-account', steamId),
getCommunityAccounts: () => ipcRenderer.invoke('get-community-accounts'),
getServerUsers: () => ipcRenderer.invoke('get-server-users'),