diff --git a/src/navigation/main.ts b/src/navigation/main.ts index 4b3930d294..bc6c21df96 100644 --- a/src/navigation/main.ts +++ b/src/navigation/main.ts @@ -40,6 +40,9 @@ const serializeCertificate = (certificate: Certificate): string => const queuedTrustRequests = new Map void>>(); export const setupNavigation = async (): Promise => { + app.userAgentFallback = app.userAgentFallback.replace(`Electron/${ process.versions.electron }`, 'Electron'); + app.userAgentFallback = app.userAgentFallback.replace(`Chrome/${ process.versions.chrome }`, 'Chrome'); + app.addListener('certificate-error', async (event, _webContents, requestedUrl, error, certificate, callback) => { event.preventDefault();