web: implement native compression

This commit is contained in:
Abdullah Atta
2022-11-11 16:57:55 +05:00
parent 1823a4f4ba
commit 8ae4ad6126
11 changed files with 182 additions and 6 deletions

View File

@@ -32,9 +32,8 @@ ipcMain.on("fromRenderer", async (event, args) => {
});
ipcMain.handle("fromRenderer", async (event, args) => {
logger.info("Call requested by renderer", args);
const { type } = args;
logger.info("Call requested by renderer", type);
const call = getCall(type);
if (!call) return;