From 19b55199d430556e0c52ac4e8cf5d84f14d1e248 Mon Sep 17 00:00:00 2001 From: Michelle Matias <38734287+michelleangela@users.noreply.github.com> Date: Tue, 24 Aug 2021 14:47:44 -0700 Subject: [PATCH] Remove executable check for OpenDebugAD7 (#8046) (#8047) --- Extension/package.json | 3 ++- Extension/src/main.ts | 10 ---------- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/Extension/package.json b/Extension/package.json index 336c33de3f..720c160fd3 100644 --- a/Extension/package.json +++ b/Extension/package.json @@ -3401,7 +3401,8 @@ "darwin" ], "architectures": [ - "x64" + "x64", + "arm64" ], "binaries": [ "./debugAdapters/bin/OpenDebugAD7" diff --git a/Extension/src/main.ts b/Extension/src/main.ts index 1bb166e0fb..1b2125c35d 100644 --- a/Extension/src/main.ts +++ b/Extension/src/main.ts @@ -209,9 +209,6 @@ async function offlineInstallation(info: PlatformInformation): Promise { setInstallationStage('cleanUpUnusedBinaries'); await cleanUpUnusedBinaries(info); - setInstallationStage('makeBinariesExecutable'); - await makeBinariesExecutable(); - setInstallationStage('makeOfflineBinariesExecutable'); await makeOfflineBinariesExecutable(info); @@ -227,9 +224,6 @@ async function onlineInstallation(info: PlatformInformation): Promise { await downloadAndInstallPackages(info); - setInstallationStage('makeBinariesExecutable'); - await makeBinariesExecutable(); - setInstallationStage('rewriteManifest'); await rewriteManifest(); @@ -262,10 +256,6 @@ async function downloadAndInstallPackages(info: PlatformInformation): Promise { - return util.allowExecution(util.getDebugAdaptersPath("OpenDebugAD7")); -} - function packageMatchesPlatform(pkg: IPackage, info: PlatformInformation): boolean { return PlatformsMatch(pkg, info) && (pkg.architectures === undefined || ArchitecturesMatch(pkg, info)) &&