Why not just use the web player in this case? Wrapping it in this garbage called Electron will not magically make it any better.
Plus you don't have to worry about Pocket Casts breathing down your neck because it's still through their system.
I used to have some for google play, although never could get it working with the media keys on my keyboard.