增加特殊规则下载覆盖

This commit is contained in:
2024-11-30 14:41:00 +08:00
parent da1c67bd36
commit d3b6dfeae9

View File

@@ -0,0 +1,11 @@
#!/bin/bash
OUTPUT_DIR="/root/Personal-project/openclash-rule/auto-special-rule/"
GIT_REPO_DIR="/root/Personal-project/openclash-rule/"
cd "$GIT_REPO_DIR" || { log "Failed to change directory to: $GIT_REPO_DIR"; exit 1; }
if git pull; then
log "Git pull successful"
else
log "Git pull failed"
exit 1
fi