mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 00:59:03 +01:00
Revert "feat: reenable asar support" (#272935)
Revert "feat: reenable asar support (#272552)"
This reverts commit ff891375f4.
This commit is contained in:
@@ -46,7 +46,8 @@ async function getDependencies(packageType, buildDir, applicationName, arch) {
|
||||
throw new Error('Invalid RPM arch string ' + arch);
|
||||
}
|
||||
// Get the files for which we want to find dependencies.
|
||||
const nativeModulesPath = path_1.default.join(buildDir, 'resources', 'app', 'node_modules.asar.unpacked');
|
||||
const canAsar = false; // TODO@esm ASAR disabled in ESM
|
||||
const nativeModulesPath = path_1.default.join(buildDir, 'resources', 'app', canAsar ? 'node_modules.asar.unpacked' : 'node_modules');
|
||||
const findResult = (0, child_process_1.spawnSync)('find', [nativeModulesPath, '-name', '*.node']);
|
||||
if (findResult.status) {
|
||||
console.error('Error finding files:');
|
||||
|
||||
Reference in New Issue
Block a user