Adding the arm/arm64 packages for mono runtime (#5064)

* Adding the arm/arm64 packages for mono runtime

Adding the arm/arm64 packages for the mono runtime. This is to enable
remote-ssh extension debugging.

* Undo activate change

* Fix lint error

* Remove vsce dependency
This commit is contained in:
Pierson Lee
2020-04-20 17:11:22 -07:00
committed by GitHub
parent 0d0e0042de
commit eb9da46a83
2 changed files with 31 additions and 0 deletions
+26
View File
@@ -1693,6 +1693,32 @@
"./debugAdapters/mono.linux-x86_64"
]
},
{
"description": "Mono Runtime (Linux / armhf)",
"url": "https://aka.ms/mono-runtime-linux-arm",
"platforms": [
"linux"
],
"architectures": [
"arm"
],
"binaries": [
"./debugAdapters/mono.linux-armhf"
]
},
{
"description": "Mono Runtime (Linux / arm64)",
"url": "https://aka.ms/mono-runtime-linux-arm64",
"platforms": [
"linux"
],
"architectures": [
"arm64"
],
"binaries": [
"./debugAdapters/mono.linux-arm64"
]
},
{
"description": "Mono Runtime (OS X)",
"url": "https://go.microsoft.com/fwlink/?LinkId=2027403",
+5
View File
@@ -74,6 +74,11 @@ export class PlatformInformation {
return util.execChildProcess('uname -m', util.packageJson.extensionFolderPath)
.then((architecture) => {
if (architecture) {
if (architecture.startsWith('arm64') || architecture.startsWith('aarch64')) {
return 'arm64';
} else if (architecture.startsWith('armv')) {
return 'arm';
}
return architecture.trim();
}
return undefined;