fix: revert required portal version for file chooser dialogs (#44426)
* feat: add support for configuring xdg portal version at runtime * doc: update command-line-switches.md * doc: update command-line-switches.md Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * doc: required portal version for defaultPath support Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> * doc: update more occurrances * fix: remove warning from save dialogs * doc: update command-line-switches.md Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org> --------- Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
This commit is contained in:
parent
27fe6cc97f
commit
4fb5aab2ef
4 changed files with 170 additions and 10 deletions
|
@ -241,6 +241,13 @@ Force using discrete GPU when there are multiple GPUs available.
|
|||
|
||||
Force using integrated GPU when there are multiple GPUs available.
|
||||
|
||||
### --xdg-portal-required-version=`version`
|
||||
|
||||
Sets the minimum required version of XDG portal implementation to `version`
|
||||
in order to use the portal backend for file dialogs on linux. File dialogs
|
||||
will fallback to using gtk or kde depending on the desktop environment when
|
||||
the required version is unavailable. Current default is set to `3`.
|
||||
|
||||
## Node.js Flags
|
||||
|
||||
Electron supports some of the [CLI flags][node-cli] supported by Node.js.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue