From 8094c6725824d2dc836e390a655c0a0e9c0745f7 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 8 Aug 2026 20:34:31 +0200 Subject: 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 --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index ce22136..aa1b40a 100644 --- a/README.md +++ b/README.md @@ -88,12 +88,15 @@ automatically when output is not a terminal. anything itself, so it is fast enough to run on every login; refreshing that file is nvchecker's job. -**installed** is resolved from three sources, in order: +**installed** is resolved from four sources, in order: -1. `/var/log/packages` for Slackware packages -2. `~/.local/state/appimage-updater/installed.json` for AppImages managed by +1. the `OPT_JSON` map, for apps unpacked under `/opt` that are none of the + below and carry their version in a JSON file (Electron apps such as Typora). + Each entry is a stanza name mapped to `:`. +2. `/var/log/packages` for Slackware packages +3. `~/.local/state/appimage-updater/installed.json` for AppImages managed by [appimage-updater](https://git.danix.xyz/appimage-updater/) -3. `flatpak list` for flatpak apps +4. `flatpak list` for flatpak apps **repo** is the `VERSION=` line of `///.info` across the configured SlackBuild repositories. -- cgit v1.2.3