4 Commits
Author SHA1 Message Date
vhaudiquet e3a62aa6ae app: check Gitea releases and install update capsules
record-daemon / Check and lint (Linux) (push) Successful in 1m5s
record-daemon / Build (Windows x64) (push) Successful in 1m54s
The app asks the project's Gitea release list about five seconds after
startup and every six hours. A stable release beats a newer prerelease,
and a release is offered only when its tag is newer than the running
build and it carries a .capsule asset for this target.

A capsule is a ZIP with capsule.json and a payload. Every payload file
carries its size and BLAKE3 digest in the manifest, and staging rejects
absolute paths, parent segments, undeclared entries, digest mismatches,
and versions that are not newer. The verified payload is stored under the
app data directory, so a download survives a restart.

The manifest and archive format live in crates/capsule-format, shared by
the app's verifier and the release tool.

Settings > Advanced shows the state, the notes, and the download and
install buttons. The status bar shows an accent chip while an update is
waiting. Install copies the app to a temp helper, asks the daemon to stop,
and quits. The helper waits for the process, swaps the files with a
rollback copy of each old file, removes stale files, and starts the new
app. A failed swap puts the old files back and logs the reason.

--check-updates runs the release check from a shell. The release tool in
tools/capsule builds a capsule from the same files the installer puts
down, using packager.toml, so a release does not need an installed copy.
docs/updates.md covers the format and the release steps.
2026-11-24 21:59:17 +01:00
vhaudiquet 47510c88b5 app: drop the old Tauri front end
tauri-app/ was kept while the native app caught up, and the screens it had
are covered now. Its 48 tracked files go; the 7.6 GB of node_modules,
dist and target beside them were never tracked and are gone from the
working copy too.

The docs that said it was still in the tree name two programs now, and
the comments that pointed at a file inside it name the old app's file
instead, so nothing refers to a folder that is no longer there. The design
plans under plans/ keep their wording: they are dated documents, not
instructions.
2026-11-24 00:18:31 +01:00
vhaudiquet 4aac0ac70b app: leave the soundtrack alone when the clip stops drawing
record-daemon / Build, check and test (push) Failing after 1m27s
A window that is not drawing stops pulling the clip, so the picture time
stands still while the soundtrack keeps playing from its own reader. The
sync loop read that growing gap as drift and seeked the sound back to the
standing place on every wake, which repeats one second forever. Measured
with a window over the app: the picture stayed at 430.83 s for 6192 wakes
while the sound ran from 495.66 to 495.82.

Only correct the soundtrack once the picture time has moved since the
last correction.

docs/rune-upstream.md records the three rune faults behind this and the
black pause, with the file to change and how to check a fix. Rune main
does not fix them (the video code is unchanged) and does not build on
Windows here.
2026-11-19 00:29:37 +01:00
vhaudiquet 744aa20496 add AGENTS.md with the checks and the commit style 2026-11-15 23:04:43 +01:00