You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(auto-update-manager): show a system prompt about mismatched arch on apple arm on application start COMPASS-9592 (#7133)
* feat(auto-update-manager): show a system prompt about mismatched arch on apple arm on application start
* chore(auto-update-manager): error handling and wait for app ready
* chore(compass): replace direct download with open external
* chore(auto-update-manager): share download logic, normalize url building
* chore(auto-update-manager): auto open on download
* fix(auto-update-mananger): convert path to file url
* chore(compass): adjust unit test for new download behavior
'You are currently using a build of Compass that is not optimized for Apple Silicon processors. This version might have significant performance issues when used. '+
877
+
'Would you like to download the version of Compass optimized for Apple Silicon processors now?',
878
+
buttons: [
879
+
'Download Compass for Apple Silicon (Recommended)',
880
+
'Not now',
881
+
],
882
+
cancelId: 1,
883
+
})
884
+
.then(({ response })=>{
885
+
if(response===0){
886
+
consturl=getMacOSDownloadUrl(
887
+
this.autoUpdateOptions.channel,
888
+
this.autoUpdateOptions.version
889
+
);
890
+
returndownload(url);
891
+
}
892
+
})
893
+
.catch((err)=>{
894
+
log.warn(
895
+
mongoLogId(1_001_000_362),
896
+
'AutoUpdateManager',
897
+
'Failed to download Compass for a mismatched macos arch',
0 commit comments