59 lines
1.4 KiB
Bash
Executable File
59 lines
1.4 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "📦 Creating distributable package..."
|
|
|
|
# Build the app
|
|
./build.sh
|
|
|
|
# Create distribution folder
|
|
DIST_DIR="EnhancedTerminal-Distribution"
|
|
rm -rf "$DIST_DIR"
|
|
mkdir -p "$DIST_DIR"
|
|
|
|
# Copy the app
|
|
cp -R EnhancedTerminal.app "$DIST_DIR/"
|
|
|
|
# Copy documentation
|
|
cp README.md "$DIST_DIR/"
|
|
cp USAGE_GUIDE.md "$DIST_DIR/"
|
|
cp QUICK_REFERENCE.md "$DIST_DIR/"
|
|
|
|
# Create a simple installer instructions
|
|
cat > "$DIST_DIR/INSTALL.txt" << 'EOF'
|
|
Enhanced Terminal v3.0 - Installation Instructions
|
|
==================================================
|
|
|
|
1. Drag EnhancedTerminal.app to your Applications folder
|
|
2. Right-click the app and select "Open" (first time only, due to macOS security)
|
|
3. Read USAGE_GUIDE.md for features and keyboard shortcuts
|
|
|
|
Features:
|
|
- Multiple tabs with session persistence
|
|
- Split panes (vertical/horizontal)
|
|
- AI command generation (OpenAI/Ollama)
|
|
- Command snippets with categories
|
|
- Command history search (fuzzy)
|
|
- Auto-suggestions from history
|
|
- Command aliases
|
|
- Multiple themes
|
|
- Copy-on-select
|
|
- Middle-click paste
|
|
- Visual bell
|
|
- Clickable URLs
|
|
- Zoom pane
|
|
- And much more!
|
|
|
|
For help, press Cmd+? or type 'help' in the terminal.
|
|
|
|
Enjoy!
|
|
EOF
|
|
|
|
# Create a ZIP archive
|
|
ZIP_NAME="EnhancedTerminal-v3.0-$(date +%Y%m%d).zip"
|
|
zip -r "$ZIP_NAME" "$DIST_DIR"
|
|
|
|
echo "✅ Package created: $ZIP_NAME"
|
|
echo ""
|
|
echo "Distribution folder: $DIST_DIR/"
|
|
echo "You can now share the ZIP file or the distribution folder."
|