Skip to content

Commit

Permalink
fix: clarifies what preload script runs before (#892)
Browse files Browse the repository at this point in the history
  • Loading branch information
yangannyx authored Feb 26, 2024
1 parent 9a3a14b commit f397dc7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions preload.js
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down

0 comments on commit f397dc7

Please sign in to comment.