8 lines
221 B
JavaScript
8 lines
221 B
JavaScript
|
const { contextBridge } = require('electron');
|
||
|
|
||
|
contextBridge.exposeInMainWorld('versions', {
|
||
|
node: () => process.versions.node,
|
||
|
chrome: () => process.versions.chrome,
|
||
|
electron: () => process.versions.electron,
|
||
|
});
|