chore(dev): add work-around to run on Ubuntu

See https://github.com/electron/electron/issues/42510.
This commit is contained in:
Elian Doran
2025-10-24 23:03:20 +03:00
parent 1e8f179f81
commit 5dc066f4c6

View File

@@ -3,7 +3,7 @@ import { getElectronPath, isNixOS } from "./utils.mjs";
const LD_LIBRARY_PATH = isNixOS() && execSync("nix eval --raw nixpkgs#gcc.cc.lib").toString("utf-8") + "/lib";
execSync(`${getElectronPath()} ${process.argv[2]}`, {
execSync(`${getElectronPath()} ${process.argv[2]} --no-sandbox`, {
stdio: "inherit",
env: {
...process.env,