From 6e4d8308ca065f28255591ec3e967e35305e9bad Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 23 Jul 2026 16:01:41 +0000 Subject: [PATCH] =?UTF-8?q?fix(bds-tools):=20=E5=8E=BB=E9=99=A4=20check-up?= =?UTF-8?q?date=20=E9=87=8D=E5=A4=8D=20zipx=20import?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #51/#52 合并时两边各自保留了 extractZipFileToDir 导入, 触发 TS2300 Duplicate identifier,导致 ootb build 失败。 Co-authored-by: Shiroha --- bds-tools/src/check-update.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bds-tools/src/check-update.ts b/bds-tools/src/check-update.ts index c8067aa5..6b865828 100644 --- a/bds-tools/src/check-update.ts +++ b/bds-tools/src/check-update.ts @@ -21,8 +21,6 @@ import { httpDownload } from "./http.js"; import { isMainModule } from "./is-main.js"; import { loadConfig, LOG_PATH, resolvePaths } from "./paths.js"; import { sendText, sendWithImage } from "./qqutil.js"; -import { emitUpdateResult } from "./update-result.js"; -import { extractZipFileToDir } from "./zipx.js"; import { clearRollbackMarker, getDirSize, @@ -32,6 +30,7 @@ import { } from "./rollback.js"; import { ensureEmitServerTelemetry } from "./server-properties.js"; import { clearTaskbarProgress, isTaskbarSupported, setTaskbarProgress } from "./taskbar.js"; +import { emitUpdateResult } from "./update-result.js"; import { buildDownloadUrls, fetchVersionDetails,