Skip to content

Commit

Permalink
Remove executable check for OpenDebugAD7 (#8046)
Browse files Browse the repository at this point in the history
  • Loading branch information
michelleangela authored Aug 24, 2021
1 parent 353d03a commit 5dcb308
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
3 changes: 2 additions & 1 deletion Extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3401,7 +3401,8 @@
"darwin"
],
"architectures": [
"x64"
"x64",
"arm64"
],
"binaries": [
"./debugAdapters/bin/OpenDebugAD7"
Expand Down
10 changes: 0 additions & 10 deletions Extension/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,6 @@ async function offlineInstallation(info: PlatformInformation): Promise<void> {
setInstallationStage('cleanUpUnusedBinaries');
await cleanUpUnusedBinaries(info);

setInstallationStage('makeBinariesExecutable');
await makeBinariesExecutable();

setInstallationStage('makeOfflineBinariesExecutable');
await makeOfflineBinariesExecutable(info);

Expand All @@ -227,9 +224,6 @@ async function onlineInstallation(info: PlatformInformation): Promise<void> {

await downloadAndInstallPackages(info);

setInstallationStage('makeBinariesExecutable');
await makeBinariesExecutable();

setInstallationStage('rewriteManifest');
await rewriteManifest();

Expand Down Expand Up @@ -262,10 +256,6 @@ async function downloadAndInstallPackages(info: PlatformInformation): Promise<vo
});
}

function makeBinariesExecutable(): Promise<void> {
return util.allowExecution(util.getDebugAdaptersPath("OpenDebugAD7"));
}

function packageMatchesPlatform(pkg: IPackage, info: PlatformInformation): boolean {
return PlatformsMatch(pkg, info) &&
(pkg.architectures === undefined || ArchitecturesMatch(pkg, info)) &&
Expand Down

0 comments on commit 5dcb308

Please sign in to comment.