electron/spec/fixtures/extensions/devtools-extension/index.js

5 lines
167 B
JavaScript
Raw Normal View History

// eslint-disable-next-line
chrome.devtools.inspectedWindow.eval(`require("electron").ipcRenderer.send("winning")`, (result, exc) => {
2020-03-20 20:28:31 +00:00
console.log(result, exc);
});