— What is the use of setting slashes =true in electron window??
— Do you mean this?
https://nodejs.org/api/url.html#url_urlobject_slashes
— In reference to that is the only time the word 'slashes' is referred to on the browserwindow docs
https://electron.atom.io/docs/api/browser-window/
Message permanent page
— Well, node docs explain it pretty well
— Slashes: true
protocol://data
slashes: false
protocol:data
— Also what is the use of __dirname in pathname: path.join(__dirname, 'index.html'),
— __dirname points to the directory where the current file is located...