Browse Source

fix: clarifies what preload script runs before (#892)

main
Anny Yang 2 years ago
committed by GitHub
parent
commit
f397dc74e9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      preload.js

7
preload.js

@ -1,7 +1,8 @@
/**
* The preload script runs before. It has access to web APIs
* as well as Electron's renderer process modules and some
* polyfilled Node.js functions.
* The preload script runs before `index.html` is loaded
* in the renderer. It has access to web APIs as well as
* Electron's renderer process modules and some polyfilled
* Node.js functions.
*
* https://www.electronjs.org/docs/latest/tutorial/sandbox
*/

Loading…
Cancel
Save