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:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user