Skip to content

Commit 96da1ff

Browse files
committed
download: default to ARM macOS downloads over x86_64
If a mac is detected by the browser, default to the ARM macOS download, rather than x86_64. This seems more reasonable at this point. In future, we might be able to use more advanced browser logic to detect the actual architecture dynamically. i.e https://developer.mozilla.org/en-US/docs/Web/API/NavigatorUAData/getHighEntropyValues.
1 parent dc2aee8 commit 96da1ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

_includes/templates/download.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,7 @@ <h2 style="text-align: center">{{page.build_reproduction}}</h2>
311311
var linkwinzip = document.getElementById('downloadwinzip');
312312
var hrefwin64exe = document.getElementById('win64exe').href;
313313
var hrefwin64zip = document.getElementById('win64zip').href;
314-
var hrefmaczip = document.getElementById('maczip').href;
315-
var hrefmactar = document.getElementById('mactar').href;
314+
var hrefmaczip = document.getElementById('macarmzip').href;
316315
var hreflin64 = document.getElementById('lin64').href;
317316
switch (os) {
318317
case 'windows64':

0 commit comments

Comments
 (0)