7 lines
216 B
TypeScript
7 lines
216 B
TypeScript
import { contextBridge } from "electron";
|
|
|
|
contextBridge.exposeInMainWorld("versions", {
|
|
node: () => process.versions.node,
|
|
chrome: () => process.versions.chrome,
|
|
electron: () => process.versions.electron,
|
|
});
|