Files
hydra/src/main/events/notifications/show-achievement-test-notification.ts
2025-05-17 19:06:01 -03:00

16 lines
372 B
TypeScript

import { registerEvent } from "../register-event";
import { WindowManager } from "@main/services";
const showAchievementTestNotification = async (
_event: Electron.IpcMainInvokeEvent
) => {
setTimeout(() => {
WindowManager.showAchievementTestNotification();
}, 1000);
};
registerEvent(
"showAchievementTestNotification",
showAchievementTestNotification
);