diff --git a/openclash-rule.sh b/openclash-rule.sh index 8d71ac7..9344aa4 100755 --- a/openclash-rule.sh +++ b/openclash-rule.sh @@ -14,8 +14,6 @@ log() { echo "$(date '+%Y-%m-%d %H:%M:%S') - $1" | tee -a "$LOG_FILE" } -git pull origin dev - # 确保输出目录存在 mkdir -p "$OUTPUT_DIR" || { log "Failed to create output directory: $OUTPUT_DIR"; exit 1; } @@ -35,6 +33,8 @@ download_and_save() { fi } +git pull + # 规则数组 rules=("direct" "proxy" "reject" "private" "apple" "icloud" "google" "gfw" "tld-not-cn" "telegramcidr" "lancidr" "cncidr" "applications")