Skip to content

Build your personal knowledge base with Trilium Notes

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

Elian Doran947e6b8113b4
diff --git a/electron.ts b/electron.ts
index 9384409477..8f6611c2d5 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.