Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/linux: Don't use --no-sandbox by default
This runtime option disables the chromium sandbox. It was added as a default option in `electron-builder` v22.10.3 (see electron-userland/electron-builder#4496) because the required kernel privileges might not be available on the user's computer (e.g. in Debian). However, these privileges might be available on some computers and the sandbox should be used in this case. Thankfully, `electron-builder` v22.14.8 makes this optional when using the build option `executableArgs` (see electron-userland/electron-builder#6429). Since we don't have any arguments to pass to Cozy Desktop, we'll just add an empty argument to the list to prevent the use of `--no-sandbox` in the Desktop entry. We'll still add the option ourselves when necesary (see ./build/launcher-script.sh`).
- Loading branch information