修复自定义邮箱收码模式默认手动

This commit is contained in:
QLHazyCoder
2026-05-28 06:14:04 +08:00
parent 1960b6e21a
commit 2992cc88ac
18 changed files with 1154 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"
if command -v python3 >/dev/null 2>&1; then
exec python3 scripts/custom_mail_helper.py
fi
if command -v python >/dev/null 2>&1; then
exec python scripts/custom_mail_helper.py
fi
echo "Python 3 not found. Please install Python 3.10+ and try again."
read -r -p "Press Enter to exit..."