I'm building an app in electronjs and I have a frameless window with a custom title bar. I was originally intending to add a close button, but that won't work as I expected it to because remote is no longer supported in electron v.14 and higher.
Is there any other way to close a frameless window only using my renderer file? Thanks in advance.