Former-commit-id: d83ea169509b28b508b5235cfc1bfaabfe9f497b
This commit is contained in:
troyeguo
2022-12-17 12:13:10 +08:00
parent 65c3afada8
commit 9d9d3200e2

View File

@@ -147,6 +147,7 @@ const createMainWin = () => {
event.returnvalue = false;
}
});
ipcMain.handle("open-console", (event, arg) => {
mainWin.webContents.openDevTools();
event.returnvalue = true;