How to Run Unity WebGL Project in Electron JS Window for All Desktop Platforms Electron can Run?

Hi I want my Unity WebGL Project to run on a window of a desktop operation system (Windows, macOS, Linux). And that window is created by Electron JS which is Node.js library. I know some steps: 1st step: Install Node.js: Done, 2nd step: Create Electron project: Done, 3rd step: Create Unity WebGL Project: Done, 4th step: Embed Unity WebGL project to Electron window: NOT DONE!

So How can I achieve 4th Step?

Thanks.

I am attempting the same thing right now. I have the html page as a Electron window and it is not working…but I am not getting the error for not being on a web-server.