electron/docs/fiddles/system/system-information/get-version-information/preload.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
134 B
JavaScript
Raw Normal View History

const { contextBridge } = require('electron/renderer')
contextBridge.exposeInMainWorld('electronVersion', process.versions.electron)