mirror of
https://github.com/zen-browser/www.git
synced 2025-07-08 01:10:02 +02:00
Merge pull request #587 from zen-browser/feat/download-checksum
This commit is contained in:
commit
904d921c09
2 changed files with 8 additions and 9 deletions
|
@ -113,7 +113,6 @@ const { label, href, checksum } = Astro.props
|
|||
setTimeout(() => (btn.innerText = original), 1200)
|
||||
}
|
||||
|
||||
// Attach listeners after DOM is ready
|
||||
checksumButtons.forEach((btn) => {
|
||||
btn.addEventListener('click', stopEvent)
|
||||
})
|
||||
|
|
|
@ -8,19 +8,19 @@ export function getReleasesWithChecksums(checksums: Record<string, string>) {
|
|||
macos: {
|
||||
universal: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen.macos-universal.dmg',
|
||||
label: `Universal`,
|
||||
label: 'Universal',
|
||||
checksum: checksums['zen.macos-universal.dmg'],
|
||||
},
|
||||
},
|
||||
windows: {
|
||||
x86_64: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen.installer.exe',
|
||||
label: `64-bit (Recommended)`,
|
||||
label: '64-bit (Recommended)',
|
||||
checksum: checksums['zen.installer.exe'],
|
||||
},
|
||||
arm64: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen.installer-arm64.exe',
|
||||
label: `ARM64`,
|
||||
label: 'ARM64',
|
||||
checksum: checksums['zen.installer-arm64.exe'],
|
||||
},
|
||||
},
|
||||
|
@ -28,31 +28,31 @@ export function getReleasesWithChecksums(checksums: Record<string, string>) {
|
|||
x86_64: {
|
||||
tarball: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen.linux-x86_64.tar.xz',
|
||||
label: `Tarball x86_64`,
|
||||
label: 'Tarball x86_64',
|
||||
checksum: checksums['zen.linux-x86_64.tar.xz'],
|
||||
},
|
||||
appImage: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen-x86_64.AppImage',
|
||||
label: `AppImage x86_64`,
|
||||
label: 'AppImage x86_64',
|
||||
checksum: checksums['zen-x86_64.AppImage'],
|
||||
},
|
||||
},
|
||||
aarch64: {
|
||||
tarball: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen.linux-aarch64.tar.xz',
|
||||
label: `Tarball aarch64`,
|
||||
label: 'Tarball aarch64',
|
||||
checksum: checksums['zen.linux-aarch64.tar.xz'],
|
||||
},
|
||||
appImage: {
|
||||
link: 'https://github.com/zen-browser/desktop/releases/latest/download/zen-aarch64.AppImage',
|
||||
label: `AppImage aarch64`,
|
||||
label: 'AppImage aarch64',
|
||||
checksum: checksums['zen-aarch64.AppImage'],
|
||||
},
|
||||
},
|
||||
flathub: {
|
||||
all: {
|
||||
link: 'https://flathub.org/apps/app.zen_browser.zen',
|
||||
label: `Flathub`,
|
||||
label: 'Flathub',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue