mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	Revert "desktop app: use a custom user agent string" (closes #1538)
This reverts commit ccbd47e03d.
			
			
This commit is contained in:
		| @@ -25,8 +25,6 @@ electronDl({ saveAs: true }); | |||||||
| electron.app.commandLine.appendSwitch("enable-experimental-web-platform-features"); | electron.app.commandLine.appendSwitch("enable-experimental-web-platform-features"); | ||||||
| electron.app.commandLine.appendSwitch("lang", options.getOptionOrNull("formattingLocale") ?? "en"); | 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 | // 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 | // for applications and their menu bar to stay active until the user quits | ||||||
| // explicitly with Cmd + Q. | // explicitly with Cmd + Q. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user