Parcourir la source

fix(scripts): register dsh-base windows.cordis.patch.yml in workspace constraints

Huanqi Cao il y a 2 mois
Parent
commit
94f61d29fa
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      scripts/check-workspace-constraints.ts

+ 3 - 2
scripts/check-workspace-constraints.ts

@@ -102,8 +102,9 @@ function workspaceManifests(): WorkspaceManifest[] {
 }
 
 const packageFileExtras: Readonly<Record<string, readonly string[]>> = {
-  // Profile bundles publish their dsh.bundle.patch layer beside the lib.
-  '@deepseek-ai/dsh-base': ['cordis.patch.yml'],
+  // Profile bundles publish their dsh.bundle.patch layer beside the lib;
+  // dsh-base also ships the win32 shell platform layer the launcher reads.
+  '@deepseek-ai/dsh-base': ['cordis.patch.yml', 'windows.cordis.patch.yml'],
   '@deepseek-ai/dsh-web-app': ['cordis.patch.yml'],
   '@deepseek-ai/dsh-headless': ['cordis.patch.yml'],
   '@deepseek-ai/dsh-client-ui-theme': ['lib/styles'],