Revert "desktop app: use a custom user agent string" (closes #1538)

This reverts commit ccbd47e03df415608f71431bef01024132109a64.
This commit is contained in:
Elian Doran 2025-04-03 17:34:47 +03:00
parent 9c8e066826
commit 947e6b8113
No known key found for this signature in database

View File

@ -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.