Skip to content

Commit f0a416d

Browse files
authored
chore(download-center): update minimum versions listed in download center COMPASS-9596 (#7142)
1 parent f9eb950 commit f0a416d

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

packages/compass/src/main/auto-update-manager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ async function promptForUpdate(
8484

8585
const answer = await dialog.showMessageBox({
8686
...commonOptions,
87-
detail: `Compass ${to} is available. You are currently using a build of Compass that is not optimized for M1/M2 processors. Would you like to download the version of Compass ${to} optimized for M1/M2 processors now?`,
87+
detail: `Compass ${to} is available. You are currently using a build of Compass that is not optimized for Apple processors. Would you like to download the version of Compass ${to} optimized for Apple processors now?`,
8888
buttons: [
89-
'Download Compass for M1/M2 (Recommended)',
89+
'Download Compass for Apple silicon (Recommended)',
9090
'Update current installation',
9191
'Ask me later',
9292
],

packages/hadron-build/commands/upload.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const { diffString } = require('json-diff');
1717
const download = require('download');
1818
const Target = require('../lib/target');
1919
const {
20-
getKeyPrefix,
2120
downloadManifest,
2221
uploadAsset,
2322
uploadAssetNew,
@@ -76,18 +75,18 @@ function readablePlatformName(arch, platform, fileName = '') {
7675

7776
switch (`${platform}-${arch}`) {
7877
case 'darwin-x64':
79-
name = 'macOS x64 (Intel) (10.15+)';
78+
name = 'macOS x64 (Intel) (11+)';
8079
break;
8180
case 'darwin-arm64':
82-
name = 'macOS arm64 (M1) (11.0+)';
81+
name = 'macOS arm64 (Apple silicon) (11.0+)';
8382
break;
8483
case 'win32-x64':
8584
name = 'Windows 64-bit (10+)';
8685
break;
8786
case 'linux-x64':
8887
name = fileName.endsWith('.rpm')
8988
? 'RedHat 64-bit (8+)'
90-
: 'Ubuntu 64-bit (16.04+)';
89+
: 'Ubuntu 64-bit (20.04+)';
9190
break;
9291
default:
9392
throw new Error(

packages/hadron-build/test/upload.test.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('upload', function () {
4343
describe('readablePlatformName', function () {
4444
it('returns a pretty-printed platform / arch label', function () {
4545
expect(readablePlatformName('x64', 'darwin')).to.eq(
46-
'macOS x64 (Intel) (10.15+)'
46+
'macOS x64 (Intel) (11+)'
4747
);
4848
});
4949

@@ -69,21 +69,21 @@ describe('upload', function () {
6969
arch: 'arm64',
7070
download_link:
7171
'https://downloads.mongodb.com/compass/mongodb-compass-1.0.0-darwin-arm64.dmg',
72-
name: 'macOS arm64 (M1) (11.0+)',
72+
name: 'macOS arm64 (Apple silicon) (11.0+)',
7373
os: 'darwin',
7474
},
7575
{
7676
arch: 'x64',
7777
download_link:
7878
'https://downloads.mongodb.com/compass/mongodb-compass-1.0.0-darwin-x64.dmg',
79-
name: 'macOS x64 (Intel) (10.15+)',
79+
name: 'macOS x64 (Intel) (11+)',
8080
os: 'darwin',
8181
},
8282
{
8383
arch: 'x64',
8484
download_link:
8585
'https://downloads.mongodb.com/compass/mongodb-compass_1.0.0_amd64.deb',
86-
name: 'Ubuntu 64-bit (16.04+)',
86+
name: 'Ubuntu 64-bit (20.04+)',
8787
os: 'linux',
8888
},
8989
{
@@ -124,21 +124,21 @@ describe('upload', function () {
124124
arch: 'arm64',
125125
download_link:
126126
'https://downloads.mongodb.com/compass/mongodb-compass-readonly-1.0.0-darwin-arm64.dmg',
127-
name: 'macOS arm64 (M1) (11.0+)',
127+
name: 'macOS arm64 (Apple silicon) (11.0+)',
128128
os: 'darwin',
129129
},
130130
{
131131
arch: 'x64',
132132
download_link:
133133
'https://downloads.mongodb.com/compass/mongodb-compass-readonly-1.0.0-darwin-x64.dmg',
134-
name: 'macOS x64 (Intel) (10.15+)',
134+
name: 'macOS x64 (Intel) (11+)',
135135
os: 'darwin',
136136
},
137137
{
138138
arch: 'x64',
139139
download_link:
140140
'https://downloads.mongodb.com/compass/mongodb-compass-readonly_1.0.0_amd64.deb',
141-
name: 'Ubuntu 64-bit (16.04+)',
141+
name: 'Ubuntu 64-bit (20.04+)',
142142
os: 'linux',
143143
},
144144
{
@@ -179,21 +179,21 @@ describe('upload', function () {
179179
arch: 'arm64',
180180
download_link:
181181
'https://downloads.mongodb.com/compass/mongodb-compass-isolated-1.0.0-darwin-arm64.dmg',
182-
name: 'macOS arm64 (M1) (11.0+)',
182+
name: 'macOS arm64 (Apple silicon) (11.0+)',
183183
os: 'darwin',
184184
},
185185
{
186186
arch: 'x64',
187187
download_link:
188188
'https://downloads.mongodb.com/compass/mongodb-compass-isolated-1.0.0-darwin-x64.dmg',
189-
name: 'macOS x64 (Intel) (10.15+)',
189+
name: 'macOS x64 (Intel) (11+)',
190190
os: 'darwin',
191191
},
192192
{
193193
arch: 'x64',
194194
download_link:
195195
'https://downloads.mongodb.com/compass/mongodb-compass-isolated_1.0.0_amd64.deb',
196-
name: 'Ubuntu 64-bit (16.04+)',
196+
name: 'Ubuntu 64-bit (20.04+)',
197197
os: 'linux',
198198
},
199199
{

0 commit comments

Comments
 (0)