Sorry I’m a bit late, had a terrible time…
but... if it's Electron, and has its own HTML window, why did they need a separate web server? and that running always?
Sounds like a bad plan, leading to "All sort of things cropping up at the last moment."