summaryrefslogtreecommitdiff
path: root/preload.js
diff options
context:
space:
mode:
authoraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-03 22:12:11 +0700
committeraltaf-creator <64111012+altaf-creator@users.noreply.github.com>2023-05-03 22:12:11 +0700
commit568debd74070ecb23433a8fb413b48dcc56141eb (patch)
tree1916a58c3a5ec60827da2ea6e38baf2116b266d2 /preload.js
Initial commit
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