fix: Correct index for Windows download button (#4500)

This commit is contained in:
Faisal Amir 2025-01-21 22:06:36 +07:00 committed by GitHub
parent 105a1c3078
commit a6238a22dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -65,7 +65,7 @@ const DropdownDownload = ({ lastRelease }: Props) => {
const userAgent = navigator.userAgent const userAgent = navigator.userAgent
if (userAgent.includes('Windows')) { if (userAgent.includes('Windows')) {
// windows user // windows user
setDefaultSystem(systems[2]) setDefaultSystem(systems[1])
} else if (userAgent.includes('Linux')) { } else if (userAgent.includes('Linux')) {
// linux user // linux user
setDefaultSystem(systems[3]) setDefaultSystem(systems[3])