From 296acf8f2e18d4a82c8bdb5ca6f59de950efb3ad Mon Sep 17 00:00:00 2001 From: Julian Alarcon Date: Wed, 1 Nov 2023 15:57:25 +0100 Subject: [PATCH] fix:291 update userAgent for specific browser to avoid not supported platform --- src/controller/mail-window-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/mail-window-controller.js b/src/controller/mail-window-controller.js index e9d1bf8..1702101 100644 --- a/src/controller/mail-window-controller.js +++ b/src/controller/mail-window-controller.js @@ -96,7 +96,7 @@ class MailWindowController { }); // and load the index.html of the app. - this.win.loadURL(mainMailServiceUrl, { userAgent: "Chrome" }); + this.win.loadURL(mainMailServiceUrl, { userAgent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/119.0.0.0" }); // Show window handler ipcMain.on("show", (event) => {