Files
Scripts/test-tui.sh
Wiktor Olszewski 2c0000079b Add PC Anti-Freeze Monitor with enhanced features
- System protection script with custom enhancements and TUI interface
- Browser tab limiting and application-specific monitoring
- AI behavior learning and predictive analysis
- Terminal-based configuration interface
- Multi-distro installation support
2025-07-01 19:51:06 +02:00

24 lines
812 B
Bash
Executable File

#!/bin/bash
# Simple TUI test script
echo "Testing PC Monitor TUI components..."
# Source the TUI functions
source pc-monitor-tui.sh
echo "✓ TUI script loaded successfully"
# Test configuration loading
echo "Testing configuration loading..."
load_config
echo "✓ Configuration loaded - CPU_THRESHOLD: $CPU_THRESHOLD"
# Test if functions exist
if declare -f load_config >/dev/null; then echo "✓ load_config function exists"; fi
if declare -f save_config >/dev/null; then echo "✓ save_config function exists"; fi
if declare -f get_service_status >/dev/null; then echo "✓ get_service_status function exists"; fi
if declare -f print_header >/dev/null; then echo "✓ print_header function exists"; fi
echo
echo "TUI test completed successfully!"
echo "Run './pc-monitor-tui.sh' to start the interface"