Skip to content

Build your personal knowledge base with Trilium Notes

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

Elian Doran5dc066f4c6d0
diff --git a/scripts/electron-start.mts b/scripts/electron-start.mts
index 92e85f9a89..e1ed9df7e0 100644
--- a/scripts/electron-start.mts
+++ b/scripts/electron-start.mts
@@ -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,