Files
douyi_guaji_main/setup_auto_commit.bat
T
Your Name e5a510d19b feat: Introduce unified logging system and optimize file management
- Added a new unified logging module to standardize log formatting, including support for traceId and MDC for better tracking.
- Updated `.gitignore` to exclude code analysis reports and temporary files.
- Created cleanup scripts to manage unused files and generate cleanup reports.
- Enhanced existing modules to integrate the new logging system and improve debugging capabilities.
- Removed outdated files and scripts to streamline the project structure.
2025-12-22 01:30:09 +08:00

32 lines
721 B
Batchfile

@echo off
REM Git自动提交任务设置脚本
REM 以管理员权限运行此脚本来自动设置定时任务
echo ========================================
echo Git自动提交任务设置
echo ========================================
echo.
echo 正在检查管理员权限...
REM 检查管理员权限
net session >nul 2>&1
if %errorLevel% neq 0 (
echo 错误: 需要管理员权限!
echo.
echo 请右键点击此文件,选择"以管理员身份运行"
echo.
pause
exit /b 1
)
echo 管理员权限确认!
echo.
echo 正在运行设置脚本...
echo.
REM 使用Bypass执行策略运行PowerShell脚本
powershell.exe -ExecutionPolicy Bypass -File "%~dp0setup_auto_commit.ps1"
pause