fix(account): route forum login through ipc

This commit is contained in:
2026-05-18 22:55:21 +08:00
parent 62081fb0ad
commit c2e8b9a1b4
6 changed files with 242 additions and 6 deletions
+4
View File
@@ -34,6 +34,10 @@ interface IpcRendererFacade {
// IPC channel type definitions
declare interface IpcChannels {
"get-app-version": () => string;
"request-flarum-token": (payload: {
identification: string;
password: string;
}) => Promise<{ token: string; userId: string }>;
}
declare const __APP_VERSION__: string;