Hello, is there a way for us to affect the electron build by providing specific package.json and/or preload.js main.js to be able to do things like changing the default zoom of the page/text, and closing the app with javascript?
const remote = require(‘electron’).remote
let w = remote.getCurrentWindow()
w.close()
Javascript by itself can’t close windows that it has not created.
Thanks!