aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-node/src/meshbay_node/cli/setup.py
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-09-26 12:23:16 +0200
committerChristophe Besson <cbesson@gmail.com>2026-09-26 12:23:16 +0200
commitfc761e7df40eac828d4e9858fab56958078c928b (patch)
treefc62061f70f374fcc8366d7ef15882a2d983ac9b /packages/meshbay-node/src/meshbay_node/cli/setup.py
parent1c07ae23f3694b972e307c50c9c09f1c429f2ea2 (diff)
downloadmeshbay-fc761e7df40eac828d4e9858fab56958078c928b.tar.gz
fix(node): read the packaged TMDB token in place
A node onboarded by the desktop client never ran `init`, so default.env was never copied to node.env; and default.env was 0600 root, unreadable to a per-user node anyway. The daemon now loads it beneath node.env, 0644. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-node/src/meshbay_node/cli/setup.py')
-rw-r--r--packages/meshbay-node/src/meshbay_node/cli/setup.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/cli/setup.py b/packages/meshbay-node/src/meshbay_node/cli/setup.py
index b2a8e83..48a55ef 100644
--- a/packages/meshbay-node/src/meshbay_node/cli/setup.py
+++ b/packages/meshbay-node/src/meshbay_node/cli/setup.py
@@ -33,11 +33,6 @@ def init(args) -> None:
cfg_dir = cfg_path.parent
cfg_dir.mkdir(parents=True, exist_ok=True)
- from meshbay_node.platform import install_node_env
- env_written = install_node_env(cfg_dir)
- if env_written:
- print(f"Wrote {env_written} (packaged defaults).")
-
hub_url = args.hub_url
username = args.username