I also recommend FreeTube, which sounds like a porn site but actually it's another open source desktop YouTube player: https://github.com/FreeTubeApp/FreeTube
If you are interested in using Invidious, you might be interested in FreeTube (which can be set to use Invidious API) too.
https://freetubeapp.io / https://github.com/FreeTubeApp/FreeTube
FreeTube has SponsorBlock built in if a desktop app works better for you.
But without account on youtube.com you cannot subscribe to channels. With FreeTube you can. And also it is open-source[1]
Freetube - https://github.com/FreeTubeApp/FreeTube
Looks like it's an open source desktop app for viewing YouTube. The link from OP has a bad cert. Here's the GitHub: https://github.com/FreeTubeApp/FreeTube
Freetube uses Electron (from project README : https://github.com/FreeTubeApp/FreeTube)
Why not use FreeTube (https://github.com/FreeTubeApp/FreeTube) then if it is based on Electron anyway? Freetube also has support for watching videos directly alongwith downloading and can also route the video through Invidious servers if you prefer not giving your IP address to Youtube.