Files
ssh-manage/build_mac.sh
Андрей Бобырев f6753fa2f6 feat: v2.0 — card UI, AI agents (Claude/DeepSeek), collapsible commands
Major update:
- Card-based session layout with colored group indicators
- AI agent: Claude API, DeepSeek API, local keyword search
- Collapsible command panel — more space for agent
- macOS build script (build_mac.sh)
- Updated README with Windows/macOS install instructions
- Config persistence in pca_config.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-05-20 22:49:02 +03:00

33 lines
847 B
Bash
Executable File

#!/bin/bash
echo "=== PCA SSH v2.0 — Build for macOS ==="
# Check Python
if ! command -v python3 &>/dev/null; then
echo "Python3 not found!"
echo "Install: brew install python3"
echo "Or: https://python.org/downloads/"
exit 1
fi
echo "Installing dependencies..."
pip3 install paramiko pillow pyinstaller
echo "Generating icon..."
python3 gen_icon.py
echo "Building PCA_SSH.app..."
if [ -f pca_ssh.icns ]; then
python3 -m PyInstaller --onefile --windowed --name "PCA_SSH" --icon=pca_ssh.icns ssh_manager.py
else
python3 -m PyInstaller --onefile --windowed --name "PCA_SSH" ssh_manager.py
fi
if [ -f dist/PCA_SSH ]; then
echo ""
echo "DONE! App: dist/PCA_SSH"
echo "Copy to /Applications or run directly"
echo "sessions.json and pca_config.json save next to executable"
else
echo "BUILD FAILED"
fi