blob: 5b08c75d3c4a84483507b1adc41386dc23edde5c (
plain)
1
2
3
4
5
6
7
8
|
/*const { contextBridge } = require('electron')
contextBridge.exposeInMainWorld('versions', {
node: () => process.versions.node,
chrome: () => process.versions.chrome,
electron: () => process.versions.electron,
// we can also expose variables, not just functions
})*/
|