Prepare desktop 1.15 offline source and release acceptance
This commit is contained in:
@@ -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('实际宿主程序不在原发行清单中。');
|
||||
|
||||
Reference in New Issue
Block a user