Changeset 422b20d in Klonkt for CHANGELOG.md


Ignore:
Timestamp:
07/02/2026 03:07:42 PM (2 months ago)
Author:
roboburr <roboburr@…>
Branches:
main
Children:
8b5c076
Parents:
7d61ab8
Message:

fix(updates): in-app updates on the Android app (third topology)

The Updates page only knew git topologies (GitHub checkout / fleet bare
repo); the Android app installs from a prebuilt tarball with no git, so
it showed "no update source reachable" and could never update itself.

New ANDROID topology, detected via process.platform === 'android'
(Termux node) with a filesystem fallback:

  • "Latest" = the package.json version on the klonkt STABLE branch (the channel the phone tarballs are built from), fetched with an 8s abort.
  • The update button spawns the phone's own klonkt-update detached; the shell survives the pkill/restart the updater performs.
  • Renders version chips (v1.3.1) instead of commit hashes; the existing view handles the null git fields as-is.
  • src/routes/admin-updates.js — IS_ANDROID detection, androidLatestVersion(), android branches in GET / and POST /run
  • CHANGELOG(.nl/.de).md — user-facing entry under Unreleased (3 languages)

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CHANGELOG.md

    r7d61ab8 r422b20d  
    55
    66## [Unreleased]
     7
     8### Fixed
     9- **The Updates page now works in the Android app.** It now shows the newest
     10  available version, and the update button downloads and installs it right on
     11  your phone (your posts and settings are kept).
    712
    813## [1.3.1] — 2026-07-02
Note: See TracChangeset for help on using the changeset viewer.