start-hotmail-helper.command 375 B

12345678910111213141516
  1. #!/bin/bash
  2. set -euo pipefail
  3. SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
  4. cd "$SCRIPT_DIR"
  5. if command -v python3 >/dev/null 2>&1; then
  6. exec python3 scripts/hotmail_helper.py
  7. fi
  8. if command -v python >/dev/null 2>&1; then
  9. exec python scripts/hotmail_helper.py
  10. fi
  11. echo "Python 3 not found. Please install Python 3.10+ and try again."
  12. read -r -p "Press Enter to exit..."