mihomo: sync upstream

last commit: 807f98be7b
This commit is contained in:
gitea-action 2024-10-17 20:31:00 +08:00
parent 588bd5415f
commit 1392928b6f

View File

@ -442,10 +442,11 @@ log() {
}
clear_log() {
if [ -d "$LOG_DIR" ]; then
rm -rf "$LOG_DIR"
if [ ! -d "$LOG_DIR" ]; then
mkdir "$LOG_DIR"
fi
mkdir "$LOG_DIR"
echo -n > "$APP_LOG_PATH"
echo -n > "$CORE_LOG_PATH"
}
mixin_authentications() {