mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-20 17:53:55 +00:00
12 lines
297 B
TypeScript
12 lines
297 B
TypeScript
import { WindowManager } from "@main/services";
|
|
import { registerEvent } from "../register-event";
|
|
|
|
const openEditorWindow = async (
|
|
_event: Electron.IpcMainInvokeEvent,
|
|
themeId: string
|
|
) => {
|
|
WindowManager.openEditorWindow(themeId);
|
|
};
|
|
|
|
registerEvent("openEditorWindow", openEditorWindow);
|