summaryrefslogtreecommitdiff
path: root/preload.js
diff options
context:
space:
mode:
Diffstat (limited to 'preload.js')
-rw-r--r--preload.js8
1 files changed, 8 insertions, 0 deletions
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