aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-08 20:34:31 +0200
committerDanilo M. <danix@danix.xyz>2026-08-08 20:34:31 +0200
commit8094c6725824d2dc836e390a655c0a0e9c0745f7 (patch)
treedd28abe2b7fe6ce76cf0037fedc7c6ce210341fe /CLAUDE.md
parentfcbbf31343b9d1e441d3ae24900386dc03c4706f (diff)
downloaddanix-nvchecker-8094c6725824d2dc836e390a655c0a0e9c0745f7.tar.gz
danix-nvchecker-8094c6725824d2dc836e390a655c0a0e9c0745f7.zip
Track Typora
Typora ships no git repo and no per-platform feed beyond its changelog: the Sparkle dev_update.xml carries the macOS dev channel and reports a different version, and /releases/all scrapes an unrelated number, so the stanza reads the version headings on /releases/linux. It is an Electron app unpacked under /opt, so it is neither a package, an AppImage nor a flatpak and none of the existing installed-version sources see it. Add an OPT_JSON map reading the version out of a JSON file, keyed by stanza name. Typora is currently its only entry; /opt was checked for others before adding a generic scanner. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index 0b76b62..01ed26d 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -72,8 +72,10 @@ the rest, and they are separate because the mappings differ per direction:
SlackBuild directory (`kitty` → `kitty-bin`). Adding one map for both breaks
the other direction.
-**Installed version** resolves through three sources in order:
-`/var/log/packages`, then the appimage-updater state file, then `flatpak list`.
+**Installed version** resolves through four sources in order: the `OPT_JSON`
+map (apps unpacked under `/opt` that are none of the below, currently Typora,
+declared as `<path>:<jq filter>`), `/var/log/packages`, the appimage-updater
+state file, then `flatpak list`.
**Repo version** is the `VERSION=` line from
`<repo>/<category>/<pkg>/<pkg>.info`. Note the category level: `.info` files sit