feat: adding auth window

This commit is contained in:
Chubby Granny Chaser
2024-06-20 13:22:12 +01:00
parent 884ba47b9b
commit 71d79a4a15
9 changed files with 51 additions and 10 deletions

View File

@@ -0,0 +1,7 @@
import { registerEvent } from "../register-event";
import { WindowManager } from "@main/services";
const openAuthWindow = async (_event: Electron.IpcMainInvokeEvent) =>
WindowManager.openAuthWindow();
registerEvent("openAuthWindow", openAuthWindow);

View File

@@ -41,6 +41,7 @@ import "./download-sources/add-download-source";
import "./download-sources/remove-download-source";
import "./download-sources/sync-download-sources";
import "./auth/signout";
import "./auth/open-auth-window";
import "./user/get-user";
import "./profile/get-me";
import "./profile/update-profile";