mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 00:36:30 +02:00
chore(dev): add work-around to run on Ubuntu
See https://github.com/electron/electron/issues/42510.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user