Files
Jammy 52636c91ae
Some checks failed
CI / main (push) Has been cancelled
CI / release-e2e (push) Has been cancelled
Track bundled vendor runtime sources
2026-07-07 10:05:50 +08:00

22 lines
441 B
TypeScript

import { ipcMain } from "electron";
import index from "./index";
ipcMain.handle(
"misc:getZipFileContent",
async (_, path: string, pathInZip: string) => {
return await index.getZipFileContent(path, pathInZip);
},
);
ipcMain.handle("misc:unzip", async (_, zipPath: string, dest: string) => {
return await index.unzip(zipPath, dest);
});
export default {
...index,
};
export const MiscMain = {
...index,
};