Skip to content

Commit 19b5519

Browse files
Remove executable check for OpenDebugAD7 (#8046) (#8047)
1 parent 60aa015 commit 19b5519

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

Extension/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3401,7 +3401,8 @@
34013401
"darwin"
34023402
],
34033403
"architectures": [
3404-
"x64"
3404+
"x64",
3405+
"arm64"
34053406
],
34063407
"binaries": [
34073408
"./debugAdapters/bin/OpenDebugAD7"

Extension/src/main.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -209,9 +209,6 @@ async function offlineInstallation(info: PlatformInformation): Promise<void> {
209209
setInstallationStage('cleanUpUnusedBinaries');
210210
await cleanUpUnusedBinaries(info);
211211

212-
setInstallationStage('makeBinariesExecutable');
213-
await makeBinariesExecutable();
214-
215212
setInstallationStage('makeOfflineBinariesExecutable');
216213
await makeOfflineBinariesExecutable(info);
217214

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

228225
await downloadAndInstallPackages(info);
229226

230-
setInstallationStage('makeBinariesExecutable');
231-
await makeBinariesExecutable();
232-
233227
setInstallationStage('rewriteManifest');
234228
await rewriteManifest();
235229

@@ -262,10 +256,6 @@ async function downloadAndInstallPackages(info: PlatformInformation): Promise<vo
262256
});
263257
}
264258

265-
function makeBinariesExecutable(): Promise<void> {
266-
return util.allowExecution(util.getDebugAdaptersPath("OpenDebugAD7"));
267-
}
268-
269259
function packageMatchesPlatform(pkg: IPackage, info: PlatformInformation): boolean {
270260
return PlatformsMatch(pkg, info) &&
271261
(pkg.architectures === undefined || ArchitecturesMatch(pkg, info)) &&

0 commit comments

Comments
 (0)