[question] win.write


Is there anything like

mainWindow.write('something here')? I have seen electron apps with no .html files or .html only for stuff like docs…


If you have an app as an example and want to know how the developers did what they did, you should link to it so that we can have a reference point.


Per se, no. But it is possible to start with an empty window and inject CSS and JavaScript into it using the webContents member of BrowserWindow (assuming an empty window actually has a webContents instance). I don’t think there’s any great advantage to doing this, though.