Skip to content

Commit 5dc066f

Browse files
committed
chore(dev): add work-around to run on Ubuntu
See electron/electron#42510.
1 parent 1e8f179 commit 5dc066f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/electron-start.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getElectronPath, isNixOS } from "./utils.mjs";
33

44
const LD_LIBRARY_PATH = isNixOS() && execSync("nix eval --raw nixpkgs#gcc.cc.lib").toString("utf-8") + "/lib";
55

6-
execSync(`${getElectronPath()} ${process.argv[2]}`, {
6+
execSync(`${getElectronPath()} ${process.argv[2]} --no-sandbox`, {
77
stdio: "inherit",
88
env: {
99
...process.env,

0 commit comments

Comments
 (0)