forked from tonycho/Awesome-Agentic-AI
26 lines
570 B
Bash
Executable File
26 lines
570 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Define project root
|
|
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
DESKTOP_DIR="$PROJECT_ROOT/desktop-electron"
|
|
|
|
# Colors
|
|
GREEN='\033[0;32m'
|
|
YELLOW='\033[1;33m'
|
|
NC='\033[0m'
|
|
|
|
echo -e "${GREEN}🖥️ Starting Agentic-AI Desktop Wrapper...${NC}"
|
|
|
|
# Navigate to desktop dir
|
|
cd "$DESKTOP_DIR"
|
|
|
|
# Install dependencies if node_modules missing
|
|
if [ ! -d "node_modules" ]; then
|
|
echo -e "${YELLOW}⬇️ Installing Electron dependencies...${NC}"
|
|
npm install
|
|
fi
|
|
|
|
# Start Electron
|
|
echo -e "${GREEN}🚀 Launching Electron...${NC}"
|
|
npm start
|