From 481db3a034c8df875984f066c642de1ef5f356f6 Mon Sep 17 00:00:00 2001 From: troyeguo <13820674+troyeguo@users.noreply.github.com> Date: Sun, 19 Feb 2023 17:06:44 +0800 Subject: [PATCH] fix bug Former-commit-id: 6714c6c8e36b63c8ae59a134191642eb0d455f90 --- main.js | 1 - 1 file changed, 1 deletion(-) diff --git a/main.js b/main.js index 23c0ac8b..7aa2266f 100644 --- a/main.js +++ b/main.js @@ -67,7 +67,6 @@ const createMainWin = () => { mainWin.on("close", () => { mainWin = null; }); - ipcMain.handle("open-book", (event, config) => { let { url, isMergeWord, isFullscreen, isPreventSleep } = config; options.webPreferences.nodeIntegrationInSubFrames = true;