diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 08bfe2e7..4d579339 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -435,6 +435,7 @@ function createMainWindow() { initDevtoolsListeners(win); initStaticTitle(win); + win.webContents.session.setUserAgent(BrowserUserAgent); win.webContents.setUserAgent(BrowserUserAgent); // if the open-url event is fired (in index.ts) while starting up, darwinURL will be set. If not fall back to checking the process args (which Windows and Linux use for URI calling.)