Skip to content

Commit

Permalink
update electron to 22.3.27
Browse files Browse the repository at this point in the history
  • Loading branch information
HSunboy committed Nov 8, 2023
1 parent e4b7473 commit d5c037f
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 164 deletions.
10 changes: 10 additions & 0 deletions libraries/script/preload.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const { contextBridge, ipcRenderer } = require('electron');

contextBridge.exposeInMainWorld("ODCClient", {
ipcInvoke(method, ...args) {
return ipcRenderer.invoke(method, ...args)
.then((result) => {
return result;
});
}
})
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"cross-env": "^6.0.3",
"css": "^3.0.0",
"echarts": "^5.4.0",
"electron": "20.3.12",
"electron": "~22.3.27",
"electron-builder": "^24.6.0",
"electron-builder-notarize": "^1.5.1",
"eventbusjs": "^0.2.0",
Expand Down
Loading

0 comments on commit d5c037f

Please sign in to comment.