fix: revert required portal version for file chooser dialogs (#45193)

This commit is contained in:
Keeley Hammond 2025-01-15 02:33:20 -08:00 committed by GitHub
parent 9dccc9f4b4
commit 2e35a065ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 158 additions and 16 deletions

View file

@ -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.