I am looking to create a child browser window to showcase some key points about my application. According to the Electron JS documentation, it supports the "about" role for Mac OS but does not have built-in support for Windows. Therefore, I am in the process of creating a custom window specifically for Windows. While I have successfully created the window, I am unsure of how to render HTML content within it. If anyone has any insights or solutions regarding this matter, please share them with me. Below is the code snippet showcasing what I have done so far. Thank you.
const childURL = `file://${__dirname}/index_child.html
let child = new BrowserWindow({
parent: mainWindow,
modal: true,
show: false,
width: 700,
height: 700,
minimizable: false,
maximizable: false,
fullscreenable: false,
})
child.loadURL(childURL)
child.once('ready-to-show', () => {
child.show()
})