This commit is contained in:
sushen339
2025-10-20 16:34:34 +08:00
parent 9ab6060486
commit f79f66ee2b
+1 -1
View File
@@ -14,7 +14,7 @@ readonly INSTALL_DIR
PYTHON_CMD=""
# 处理根目录情况,避免双斜杠
if [ "$INSTALL_DIR" = "/" ]; then
LOG_FILE="/AutoUpdateJdCookie_install_$(date +%Y%m%d_%H%M%S).log"
LOG_FILE="AutoUpdateJdCookie_install_$(date +%Y%m%d_%H%M%S).log"
else
LOG_FILE="${INSTALL_DIR}/AutoUpdateJdCookie_install_$(date +%Y%m%d_%H%M%S).log"
fi