Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions start.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ fi

export PATH="$NODE_DIR/bin:$PATH"

# Ensure a package.json exists so npm installs locally (not globally)
if [ ! -f "$ENGINE_DIR/package.json" ]; then
echo '{"name":"openclaude-portable","version":"1.0.0","private":true}' > "$ENGINE_DIR/package.json"
fi

if [ ! -d "$ENGINE_DIR/node_modules/@gitlawb/openclaude" ]; then
echo -e "${YELLOW}[~] Installing OpenClaude Engine...${RESET}"
cd "$ENGINE_DIR"
Expand Down