Skip to content

Commit

Permalink
Merge pull request #9 from DrNoSleep/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyza authored Nov 26, 2021
2 parents cbdef30 + 2dfc705 commit c0fc025
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/preload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ const preloadData = ipcRenderer.sendSync("KERNEL_WINDOW_DATA");
// If context isolation is off, this should be patched to make sure everything complies.
if (!!preloadData?.windowOptions?.contextIsolation) {
contextBridge.exposeInMainWorld = function (key, value) {
console.log("aaaa", JSON.stringify(arguments));

window[key] = value;
};
}
Expand Down

0 comments on commit c0fc025

Please sign in to comment.