Add documentation links

This commit is contained in:
Manav Rathi 2024-03-20 10:32:29 +05:30
parent b77ac2a2d8
commit 8b0ce5d521
No known key found for this signature in database

View file

@ -370,7 +370,18 @@ setupLogging();
// These objects exposed here will become available to the JS code in our
// renderer (the web/ code) as `window.ElectronAPIs.*`
//
// https://www.electronjs.org/docs/latest/tutorial/tutorial-preload
// - Introduction
// https://www.electronjs.org/docs/latest/tutorial/tutorial-preload
//
// There are a few related concepts at play here, and it might be worthwhile to
// read their (excellent) documentation to get an understanding;
//
// - ContextIsolation:
// https://www.electronjs.org/docs/latest/tutorial/context-isolation
//
// - IPC
// https://www.electronjs.org/docs/latest/tutorial/ipc
//
contextBridge.exposeInMainWorld("ElectronAPIs", {
exists,
checkExistsAndCreateDir,