mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-28 21:31:03 +00:00
12 lines
302 B
TypeScript
12 lines
302 B
TypeScript
import { WindowManager } from "@main/services";
|
|
import { registerEvent } from "../register-event";
|
|
|
|
const closeEditorWindow = async (
|
|
_event: Electron.IpcMainInvokeEvent,
|
|
themeId?: string
|
|
) => {
|
|
WindowManager.closeEditorWindow(themeId);
|
|
};
|
|
|
|
registerEvent("closeEditorWindow", closeEditorWindow);
|