refactor: 移除遥测并修复启动器流程

This commit is contained in:
2026-09-13 20:31:55 +08:00
parent 1fa56add19
commit 1593ac7a7c
175 changed files with 547 additions and 12210 deletions

View File

@ -137,11 +137,11 @@
</template>
</div>
<div
v-if="downloadTelemetry(job).length"
v-if="downloadDetails(job).length"
class="mt-1 flex flex-wrap items-center gap-2 text-sm text-secondary"
>
<template
v-for="(metric, index) in downloadTelemetry(job)"
v-for="(metric, index) in downloadDetails(job)"
:key="`${index}-${metric}`"
>
<BulletDivider v-if="index > 0" />
@ -1058,7 +1058,7 @@ function totalRequiredFiles(job: InstallJobSnapshot) {
return Math.max(job.summary.files_total ?? 0, job.items.length, completed + missing)
}
function downloadTelemetry(job: InstallJobSnapshot) {
function downloadDetails(job: InstallJobSnapshot) {
const summary = job.summary
const metrics: string[] = []
if (summary.source && !isRecoveryValidation(job)) {