File tree Expand file tree Collapse file tree 3 files changed +4
-11
lines changed
platform/native/electron-main
workbench/electron-sandbox Expand file tree Collapse file tree 3 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -1279,7 +1279,7 @@ export class CodeApplication extends Disposable {
1279
1279
// Crash reporter
1280
1280
this . updateCrashReporterEnablement ( ) ;
1281
1281
1282
- if ( app . runningUnderARM64Translation ) {
1282
+ if ( isMacintosh && app . runningUnderARM64Translation ) {
1283
1283
this . windowsMainService ?. sendToFocused ( 'vscode:showTranslatedBuildWarning' ) ;
1284
1284
}
1285
1285
Original file line number Diff line number Diff line change @@ -490,7 +490,7 @@ export class NativeHostMainService extends Disposable implements INativeHostMain
490
490
}
491
491
492
492
async isRunningUnderARM64Translation ( ) : Promise < boolean > {
493
- if ( isLinux ) {
493
+ if ( isLinux || isWindows ) {
494
494
return false ;
495
495
}
496
496
return app . runningUnderARM64Translation ;
Original file line number Diff line number Diff line change @@ -236,15 +236,8 @@ export class NativeWindow extends Disposable {
236
236
label : localize ( 'downloadArmBuild' , "Download" ) ,
237
237
run : ( ) => {
238
238
const quality = this . productService . quality ;
239
- let stableURL = '' ;
240
- let insidersURL = '' ;
241
- if ( isMacintosh ) {
242
- stableURL = 'https://code.visualstudio.com/docs/?dv=osx' ;
243
- insidersURL = 'https://code.visualstudio.com/docs/?dv=osx&build=insiders' ;
244
- } else if ( isWindows ) {
245
- stableURL = 'https://code.visualstudio.com/docs/?dv=win32arm64user' ;
246
- insidersURL = 'https://code.visualstudio.com/docs/?dv=win32arm64user&build=insiders' ;
247
- }
239
+ const stableURL = 'https://code.visualstudio.com/docs/?dv=osx' ;
240
+ const insidersURL = 'https://code.visualstudio.com/docs/?dv=osx&build=insiders' ;
248
241
this . openerService . open ( quality === 'stable' ? stableURL : insidersURL ) ;
249
242
}
250
243
} ]
You can’t perform that action at this time.
0 commit comments