electron-builder-sandbox-fix
Version:
Apply no-sandbox flag automatically when required to fix SUID sandbox helper errors
19 lines (12 loc) • 654 B
Markdown
# electron-builder-sandbox-fix
[](https://ci.systest.eu/gergof/electron-builder-sandbox-fix)
[](https://www.npmjs.com/package/electron-builder-sandbox-fix)
Apply no-sandbox flag automatically when required to fix SUID sandbox helper errors.
This script adds a loader script that will disable sandboxing for your electron app if the `unprivileged_userns_clone` kernel option is disabled.
#### Usage
In `electron-builder.json`:
```json
{
"afterPack": "electron-builder-sandbox-fix"
}
```