mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 09:25:59 +02:00
fix(electron): option does not exist
This commit is contained in:
@@ -23,7 +23,7 @@ electronDl({ saveAs: true });
|
||||
|
||||
// needed for excalidraw export https://github.com/zadam/trilium/issues/4271
|
||||
electron.app.commandLine.appendSwitch("enable-experimental-web-platform-features");
|
||||
electron.app.commandLine.appendSwitch("lang", options.getOption("formattingLocale") ?? "en");
|
||||
electron.app.commandLine.appendSwitch("lang", options.getOptionOrNull("formattingLocale") ?? "en");
|
||||
|
||||
electron.app.userAgentFallback = `${electron.app.getName()} ${electron.app.getVersion()}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user