mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-03-24 18:02:41 -04:00
#1652 - widget eidts
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user