From d75240459b240be3029a70147ee9bfcd630cb77f Mon Sep 17 00:00:00 2001 From: sunlei Date: Fri, 19 Jun 2026 03:47:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DNapCat=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=80=81=E8=BE=B9=E7=95=8C=E6=A3=80=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/runtime/napcat-runtime-profile.service.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts b/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts index 71a57f0..ca91e73 100644 --- a/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts +++ b/src/modules/qqbot/napcat/application/runtime/napcat-runtime-profile.service.ts @@ -83,8 +83,8 @@ export class NapcatRuntimeProfileService { } /** - * Persists the planned runtime and protocol profile after Docker accepts a managed container rebuild. - * @param input - Account/container identity, generated runtime profile, and config hashes that establish the expected state before live inspection. + * Persists the planned runtime and protocol profile after managed runtime creation succeeds. + * @param input - Account/runtime identity, generated runtime profile, and config hashes that establish the expected state before live inspection. */ async recordPlannedProfiles(input: RecordPlannedProfilesInput) { const accountId = `${input.accountId || ''}`.trim(); @@ -120,8 +120,7 @@ export class NapcatRuntimeProfileService { lastCheckedAt: null, locale: input.runtimeProfile.locale, localeAvailable: false, - macStrategy: - input.deviceIdentity?.macStrategy || 'docker-bridge-mac-v1', + macStrategy: input.deviceIdentity?.macStrategy || 'managed-mac-v1', migrateDeviceIdentity: !!input.deviceIdentity, persistCache: input.runtimeProfile.persistCache, persistLocalShare: input.runtimeProfile.persistLocalShare,