We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b8fe7 commit b74f1acCopy full SHA for b74f1ac
src/components/DownloadGephiDesktop.astro
@@ -104,7 +104,10 @@ const DOWNLOAD_LINKS = await getDownloadLinks();
104
if (navigator.appVersion.indexOf("Win") !== -1) {
105
currentBrowser = "windows64";
106
} else if (navigator.appVersion.indexOf("Mac") !== -1) {
107
- currentBrowser = "macSilicon";
+ if (navigator.userAgent.indexOf("Intel") !== -1)
108
+ currentBrowser = "macIntel"
109
+ else
110
+ currentBrowser = "macSilicon";
111
} else if (navigator.userAgent.indexOf("Ubuntu") !== -1) {
112
currentBrowser = "linux";
113
} else if (navigator.appVersion.indexOf("X11") !== -1) {
0 commit comments