mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
8 lines
252 B
TypeScript
8 lines
252 B
TypeScript
import { registerEvent } from "../register-event";
|
|
import { HydraApi } from "@main/services";
|
|
|
|
const isUserLoggedIn = async (_event: Electron.IpcMainInvokeEvent) => {
|
|
return HydraApi.isLoggedIn();
|
|
};
|
|
|
|
registerEvent("isUserLoggedIn", isUserLoggedIn);
|