调整同步配置:减少下载线程数,优化 sync 命令,添加 README

This commit is contained in:
CHE LIANG ZHAO
2026-01-28 14:17:19 +08:00
parent 4c61fc6a3a
commit 55a04361cb
3 changed files with 108 additions and 3 deletions

View File

@@ -47,8 +47,9 @@ switch ($Command) {
Write-Host "完成!" -ForegroundColor Green
}
"sync" {
Write-Host "立即触发同步..." -ForegroundColor Yellow
docker exec icloudpd sync-icloud.sh --DownloadOnce
Write-Host "立即触发同步 (重启容器)..." -ForegroundColor Yellow
docker restart icloudpd
Write-Host "同步已触发,使用 '.\icloud.ps1 logs' 查看进度" -ForegroundColor Green
}
default {
Write-Host "未知命令: $Command" -ForegroundColor Red