Skip to content

Commit c6079f0

Browse files
committed
Update windows platform code
1 parent 95f0650 commit c6079f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<CSharp
197197
let langService = await langServicePromise;
198198
return langService.advisor;
199199
},
200-
getTestManager: async() => {
200+
getTestManager: async () => {
201201
let langService = await langServicePromise;
202202
return langService.testManager;
203203
},
@@ -207,7 +207,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<CSharp
207207

208208
function isSupportedPlatform(platform: PlatformInformation): boolean {
209209
if (platform.isWindows()) {
210-
return platform.architecture === "x86" || platform.architecture === "x86_64";
210+
return platform.architecture === "x86" || platform.architecture === "x86_64" || platform.architecture === "arm64";
211211
}
212212

213213
if (platform.isMacOS()) {

src/platform.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ export class PlatformInformation {
191191
resolve('x86');
192192
}
193193
else if (process.env.PROCESSOR_ARCHITECTURE === 'ARM64' && process.env.PROCESSOR_ARCHITEW6432 === undefined) {
194-
resolve('ARM64');
194+
resolve('arm64');
195195
}
196196
else {
197197
resolve('x86_64');

0 commit comments

Comments
 (0)