From 947e6b8113b4f6c28144e2f853a0e147ef0ec8d6 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 3 Apr 2025 17:34:47 +0300 Subject: [PATCH] Revert "desktop app: use a custom user agent string" (closes #1538) This reverts commit ccbd47e03df415608f71431bef01024132109a64. --- electron.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/electron.ts b/electron.ts index 938440947..8f6611c2d 100644 --- a/electron.ts +++ b/electron.ts @@ -25,8 +25,6 @@ electronDl({ saveAs: true }); electron.app.commandLine.appendSwitch("enable-experimental-web-platform-features"); electron.app.commandLine.appendSwitch("lang", options.getOptionOrNull("formattingLocale") ?? "en"); -electron.app.userAgentFallback = `${electron.app.getName()} ${electron.app.getVersion()}`; - // Quit when all windows are closed, except on macOS. There, it's common // for applications and their menu bar to stay active until the user quits // explicitly with Cmd + Q.