#1652 - widget eidts

This commit is contained in:
rmcrackan
2026-03-05 10:16:25 -05:00
parent 41fcef207b
commit 5ff3dc7581
2 changed files with 6 additions and 6 deletions

View File

@@ -38,15 +38,15 @@ function getPreviewOverrides() {
}
function recommendedForLabel(overrides) {
if (!d.value) return 'Recommended for your system'
if (!d.value) return 'Recommended download for your system'
const os = (overrides && overrides.os) || d.value.os
const ver = (overrides && overrides.osVersion) || d.value.osVersion
const arch = (overrides && overrides.architecture) || d.value.architecture
const flavor = (overrides && overrides.linuxFlavor !== undefined) ? overrides.linuxFlavor : d.value.linuxFlavor
if (os === 'windows') return 'Recommended for Windows (' + arch + ')'
if (os === 'mac') return 'Recommended for Mac ' + (ver ? ver + ' ' : '') + '(' + arch + ')'
if (os === 'linux') return 'Recommended for ' + (flavor ? flavor + ' ' : '') + 'Linux (' + arch + ')'
return 'Recommended for your system'
if (os === 'windows') return 'Recommended download for Windows (' + arch + ')'
if (os === 'mac') return 'Recommended download for Mac ' + (ver ? ver + ' ' : '') + '(' + arch + ')'
if (os === 'linux') return 'Recommended download for ' + (flavor ? flavor + ' ' : '') + 'Linux (' + arch + ')'
return 'Recommended download for your system'
}
function updateRecommendation() {

View File

@@ -2,7 +2,7 @@
**Libation** is a free, open-source application for downloading and managing your Audible audiobooks. It decrypts your library, removes DRM, and lets you own your audiobooks forever.
> <img src=".github/download-icon.svg" width="20" height="20" alt="" /> **[Which version should I download?](https://getlibation.com)** — get a recommended download for your system on our site.
> <a href="https://getlibation.com"><img src=".github/download-icon.svg" width="20" height="20" alt="" /></a> **[Which version should I download?](https://getlibation.com)** — get a recommended download for your system on our site.
## Features