Fix for "Certificate has expired" error with Joplin Cloud and self-hosted sync targets

It is Electron that was the issue. 2.5 upgraded the framework.