7 lines
227 B
JavaScript
7 lines
227 B
JavaScript
const { contextBridge } = require('electron/renderer')
|
|
|
|
contextBridge.exposeInMainWorld('versions', {
|
|
node: () => process.versions.node,
|
|
chrome: () => process.versions.chrome,
|
|
electron: () => process.versions.electron
|
|
})
|