Commit 17e7a6f
disable Electron sandbox in npm run dev on Linux
Linux ships chrome-sandbox without SUID and AppArmor blocks the
namespace sandbox by default on Ubuntu 24.04+, so dev mode fails
without manual `chown root:root` + `chmod 4755` per worktree's
node_modules. Set ELECTRON_DISABLE_SANDBOX=1 in the dev scripts so
fresh worktrees just work. No effect on packaged builds.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0cd1c7a commit 17e7a6f
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments