Skip to content

Commit

Permalink
Merge pull request #460 from KyleDL101/downloads
Browse files Browse the repository at this point in the history
fix: fixed twilight tarball download and removed flathub option
  • Loading branch information
NOCanoa authored Feb 7, 2025
2 parents 6f31e29 + e6d15f4 commit 565bd71
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/pages/download.astro
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,11 @@ const appleIcon = icon({ prefix: 'fab', iconName: 'apple' })
},
linux: {
x86_64: {
tar: 'zen.linux-x86_64.tar.bz2',
tar: 'zen.linux-x86_64.tar.xz',
appImage: 'zen-x86_64.AppImage',
},
aarch64: {
tar: 'zen.linux-aarch64.tar.bz2',
tar: 'zen.linux-aarch64.tar.xz',
appImage: 'zen-aarch64.AppImage',
},
},
Expand Down Expand Up @@ -417,11 +417,17 @@ const appleIcon = icon({ prefix: 'fab', iconName: 'apple' })
downloadRelease('linux', selectedArch as string, 'appImage')
})

document
if (!isTwilight) {
document
.getElementById('linux-flathub-download')
?.addEventListener('click', () => {
window.open('https://flathub.org/apps/app.zen_browser.zen')
})
}
else {
document
.getElementById('linux-flathub-download')?.classList.add('hidden')
}

document
.getElementById('windows-installer-download')
Expand Down

0 comments on commit 565bd71

Please sign in to comment.