feat: 批量生成 IPC handler

This commit is contained in:
MikiVL 2026-05-05 13:37:15 +08:00
parent 1c164ea3d9
commit b3be6f5f03

View File

@ -0,0 +1,6 @@
const { ipcMain } = require("electron");
const { callPython } = require("./templateIpc");
ipcMain.handle("generate:run", async (_, req) => {
return callPython({ action: "generate", ...req });
});