summaryrefslogtreecommitdiffstats
path: root/packages/meshbay-client/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-client/README.md')
-rw-r--r--packages/meshbay-client/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages/meshbay-client/README.md b/packages/meshbay-client/README.md
index 46be72b..2c2fb27 100644
--- a/packages/meshbay-client/README.md
+++ b/packages/meshbay-client/README.md
@@ -18,6 +18,15 @@ at all: the download script `require()`s an ESM module, which Node gained only i
export PATH=/opt/nodejs/bin:$PATH
npm ci # not `npm install` — the lockfile is the build input
+
+ # npm ≥ 11 blocks install scripts by default; Electron needs them
+ npm approve-scripts electron
+ node node_modules/electron/install.js
+
+ # Chromium's namespace sandbox requires SUID on chrome-sandbox
+ sudo chown root:root node_modules/electron/dist/chrome-sandbox
+ sudo chmod 4755 node_modules/electron/dist/chrome-sandbox
+
npm run sync-ui # copy the interface from the hub package
npm start