Prepare desktop 1.15 offline source and release acceptance

This commit is contained in:
Agent Workbench Dev
2026-10-31 11:50:51 +08:00
parent b77783ba67
commit c5c8a84a7b
51 changed files with 6211 additions and 1136 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export function inspectHostInstallation(directory, { full = false } = {}) {
names.set(row.path, row);
if (full || /^(dist-client|dist-server|dist-desktop)\//.test(row.path)) files.add(row.path);
}
if (!manifest) for (const entry of fs.readdirSync(path.join(root, 'dist-client/assets'))) files.add('dist-client/assets/' + entry);
if (!manifest || manifest.kind === 'source') for (const entry of fs.readdirSync(path.join(root, 'dist-client/assets'))) files.add('dist-client/assets/' + entry);
const inputs = [...files].sort().map(relative => {
const file = ownedChild(root, relative), identity = binaryIdentity(file), declared = names.get(relative);
if (manifest?.kind === 'portable' && !declared) throw hostError('实际宿主程序不在原发行清单中。');