docs: Document the new style of remote module
This commit is contained in:
parent
94e24abb99
commit
5cacf79bc5
4 changed files with 14 additions and 5 deletions
|
@ -38,7 +38,7 @@ extra ability to use node modules:
|
|||
<body>
|
||||
<script>
|
||||
const remote = require('electron').remote;
|
||||
console.log(remote.require('electron').app.getVersion());
|
||||
console.log(remote.app.getVersion());
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue