Update ARCHIVE_URL

When this code was written, the client specification instructed clients
that they MUST download pages from the tldr.sh domain. However, this
domain was deprecated and shut down in December 2025.
This commit is contained in:
Niklas Mohrin 2026-01-24 00:00:20 +01:00
commit 942c67c3d2
No known key found for this signature in database
GPG key ID: 0ACD89A5C1DEB3EB

View file

@ -64,7 +64,7 @@ const APP_INFO: AppInfo = AppInfo {
name: NAME,
author: NAME,
};
const ARCHIVE_URL: &str = "https://tldr.sh/assets/tldr.zip";
const ARCHIVE_URL: &str = "https://github.com/tldr-pages/tldr/releases/latest/download/tldr.zip";
/// The cache should be updated if it was explicitly requested,
/// or if an automatic update is due and allowed.