mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-27 12:51:03 +00:00
16 lines
372 B
TypeScript
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
|
|
);
|