mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 10:45:58 +08:00
fix(electron): option does not exist
This commit is contained in:
parent
5148ce64ae
commit
5ec3d58f6f
1 changed files with 1 additions and 1 deletions
|
|
@ -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()}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue