From 568debd74070ecb23433a8fb413b48dcc56141eb Mon Sep 17 00:00:00 2001 From: altaf-creator <64111012+altaf-creator@users.noreply.github.com> Date: Wed, 3 May 2023 22:12:11 +0700 Subject: Initial commit --- preload.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 preload.js (limited to 'preload.js') diff --git a/preload.js b/preload.js new file mode 100644 index 0000000..5b08c75 --- /dev/null +++ b/preload.js @@ -0,0 +1,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 +})*/ \ No newline at end of file -- cgit v1.2.3