fix(mvp): Final syntax fixes, PATH reloading for setup, and eliminated duplicate boot
Some checks failed
Deploy-Agent-V15-Stdin / JOB-V15-STDIN (push) Failing after 25s

This commit is contained in:
2026-04-17 17:55:44 -04:00
parent d4be2fcdc7
commit 76c3b68abd
3 changed files with 8 additions and 4 deletions

View File

@@ -130,7 +130,11 @@ setup_system() {
if [ "$success" = true ]; then
echo -e "\n${GREEN}✓ Brain is alive and responsive on port $PORT.${NC}"
# Reload PATH for the current subshell so the next message is accurate
export PATH="$HOME/.local/bin:$PATH"
echo -e "${GREEN}✓ Setup complete. You can now run 'opencortex tui'.${NC}"
echo -e "${YELLOW}Please run: source ~/.bashrc${NC}"
exit 0
else
echo -e "\n${RED}✗ Brain failed to wake up.${NC}"
echo -e "${YELLOW}Full Log Path: $(realpath "$SCRIPT_DIR/brain.log")${NC}"