feat: 新增下载量统计小工具

This commit is contained in:
uye
2026-07-09 23:56:36 +08:00
parent 9cb0ed6803
commit e9e4411d6a
4 changed files with 1074 additions and 0 deletions

3
tools/ReleaseDownloadStats/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
# 生成产物
report.html
data.json

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,23 @@
@echo off
chcp 65001 >nul 2>&1
cd /d "%~dp0"
echo ========================================
echo MAA Release 下载量统计工具
echo ========================================
echo.
python release_download_stats.py %*
if %ERRORLEVEL% NEQ 0 (
echo.
echo [错误] 脚本执行失败
pause
) else (
echo.
echo 完成!
echo 正在打开报告...
start "" "report.html"
)
pause

View File

@@ -0,0 +1,23 @@
@echo off
chcp 65001 >nul 2>&1
cd /d "%~dp0"
echo ========================================
echo MAA Release 下载量统计工具 (带缓存)
echo ========================================
echo.
python release_download_stats.py --cache data.json --output report.html %*
if %ERRORLEVEL% NEQ 0 (
echo.
echo [错误] 脚本执行失败
pause
) else (
echo.
echo 完成!
echo 正在打开报告...
start "" "report.html"
)
pause