Compare commits

...

2 commits

Author SHA1 Message Date
Niklas Mohrin
856b494170
Release v1.7.3 2026-01-24 01:08:36 +01:00
Niklas Mohrin
942c67c3d2
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.
2026-01-24 01:05:42 +01:00
4 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View file

@ -1426,7 +1426,7 @@ dependencies = [
[[package]]
name = "tealdeer"
version = "1.7.2"
version = "1.7.3"
dependencies = [
"anyhow",
"app_dirs2",

View file

@ -10,7 +10,7 @@ name = "tealdeer"
readme = "README.md"
repository = "https://github.com/tealdeer-rs/tealdeer/"
documentation = "https://tealdeer-rs.github.io/tealdeer/"
version = "1.7.2"
version = "1.7.3"
include = ["/src/**/*", "/tests/**/*", "/Cargo.toml", "/README.md", "/LICENSE-*", "/screenshot.png", "completion/*"]
rust-version = "1.75"
edition = "2021"

View file

@ -1,4 +1,4 @@
tealdeer 1.7.2: A fast TLDR client
tealdeer 1.7.3: A fast TLDR client
Danilo Bargen <mail@dbrgn.ch>, Niklas Mohrin <dev@niklasmohrin.de>
Usage: tldr [OPTIONS] [COMMAND]...

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.