Add no-sandbox switch for Linux alongside chrome-sandbox removal

Both are needed: afterPack removes chrome-sandbox to prevent SUID fatal,
appendSwitch handles Ubuntu 24.04+ AppArmor user namespace restrictions.
This commit is contained in:
Mohamed Boudra
2026-03-22 01:12:01 +07:00
parent 207bdd1fae
commit 859d234543
+4
View File
@@ -21,6 +21,10 @@ import {
import { registerOpenerHandlers } from "./features/opener.js";
import { setupApplicationMenu } from "./features/menu.js";
if (process.platform === "linux") {
app.commandLine.appendSwitch("no-sandbox");
}
const DEV_SERVER_URL = process.env.EXPO_DEV_URL ?? "http://localhost:8081";
const APP_SCHEME = "paseo";
app.setName("Paseo");