12 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 9d1fb40434 bump version (0.3.3)
record-daemon / Build (Windows x64) (push) Successful in 2m10s
record-daemon / Check and lint (Linux) (push) Successful in 1m13s
2026-11-24 00:20:31 +01:00
vhaudiquet 1bb2874753 app: pick the recordings folder and cut paths to the row
The folder was a text field, and the path was always cut to its last
two folders, so a wide window dropped folders it had room for and a
narrow one showed only the tail.

The row now shows the path the settings hold, cut in the middle at
whatever width the labels and the button leave it, with Select folder
opening the system's folder dialog through rune's native-file-dialog
feature. Form keeps no copy of the path any more; the draft is the one
place it lives.

The quick tab's recordings folder and the daemon tab's log file get the
same cut, and short_path goes.
2026-11-23 23:53:21 +01:00
vhaudiquet f8fd8e30dc bump version (0.3.2)
record-daemon / Check and lint (Linux) (push) Successful in 1m17s
record-daemon / Build (Windows x64) (push) Successful in 2m8s
2026-11-23 20:03:30 +01:00
vhaudiquet f3e44a2132 app: keep a paused clip's layer picture on the pixels it played on
The vendored rune's layer rounded its size and sat at it 1:1, while the
window draws a paused clip itself at the exact fractional rect: pausing
moved the picture by up to a pixel. The layer's visual now sits at that
rect and stretches its buffer onto it (SetTransform2), and the vendored
rune takes windows-numerics for the matrix.

Also snapshot hooks: LR_DEMO_PLAY starts the demo clip and
LR_DEMO_PAUSE_AT pauses it once the clock passes a time.
2026-11-23 18:11:02 +01:00
vhaudiquet 5bf262b82b app: cherry-pick rune's pause and sound fixes onto the checkout
Rune comes from app/vendor/rune now, a checkout of 63ad0209 on branch
ported, carrying the four commits of upstream issues 1320 (a pause while
a clip is layered holds the layer's picture and time) and 1325 (a video's
sound is read ahead of the clock and leads it). Both were written against
eb9f1104 and ported across the refactors since. The faults are the first
two and the third in docs/rune-upstream.md; the app's workarounds in
review.rs stay until the fixes arrive upstream.
2026-11-22 22:16:30 +01:00
vhaudiquet 80fef698ce app: bump rune to 63ad020
Moves all three rune git deps from 4ddf696 to the tip of the tree.
Nothing in our own code needed to change for the new revision.
2026-11-22 21:55:59 +01:00
vhaudiquet fac1ec00da bump version (0.3.1)
record-daemon / Check and lint (Linux) (push) Successful in 1m10s
record-daemon / Build (Windows x64) (push) Successful in 1m47s
2026-11-21 19:32:38 +01:00
vhaudiquet b173d75e98 app: use the tauri-app medallion icon on the window, taskbar and tray
record-daemon / Check and lint (Linux) (push) Successful in 1m12s
record-daemon / Build (Windows x64) (push) Successful in 1m44s
The exe carried no icon resource and the tray drew a stand-in disc, so
Explorer, the taskbar and the tray each guessed at what to show. The
old front end's medallion was already in the tree and identical to the
installer's icon.ico, so the whole shell now draws it: set_app_icon
feeds icons/icon_full.png to rune before the event loop, the tray
decodes the bundled 32 px, and build.rs bakes icon.ico into the exe
for Explorer and shortcuts. The 128 px variants stay in tauri-app,
which rune's own resizing makes redundant here.
2026-11-21 19:19:58 +01:00
vhaudiquet c7fee5beeb app: add applications from a dialog, with icons and a running state
The add row under the sources offered a type selector for device
sources, which the daemon cannot capture reliably, and nothing told a
right process name from a wrong one. A plus in the card header now
opens a dialog asking for a name and a process, and Add stays grey
until both are filled.

Every source shows its executable's icon, read from the running
process or found on disk when the program is closed, and a chip saying
whether that process is running. The process table is read off the UI
thread every couple of seconds while the audio tab is open, and the
disk search remembers its misses so a name costs one walk per run.

Settings drops Refresh and Settings from the title bar, where both only
repeated what the screen already shows.
2026-11-16 20:01:59 +01:00
vhaudiquet 227aecb8f6 app: draw champion portraits, a 16:9 player and draggable scroll bars
Cards and the review header showed two initials where a champion
portrait belongs. Data Dragon is fetched from a worker thread and cached
under the user's cache directory, so the first sight of a champion puts
its face on the card and later runs read it from disk; offline, the tile
keeps its initials on the champion's colour.

The review screen put the clip in a small box above two list columns.
The clip now fills the window at 16:9 and the highlights and timeline
open beside it on demand, so nothing shrinks the video by default and
every event still marks the scrubber.

Scroll bars were a thumb drawn over the cards that could not be
dragged. They now sit in a strip the content leaves free, stay visible
while the list overflows, and scroll the viewport when dragged.
2026-11-16 18:24:39 +01:00
vhaudiquet 0377141e4f app: add native rune client for record-daemon
Replaces the Vue/Tauri front end with a rune app that speaks the daemon's
existing IPC protocol: settings (general, recording, audio), match history
and game review with a scrubber, event markers and ffmpeg highlight export.
Includes tray icon, launch at login, single instance, toasts, a headless
snapshot path for checking screens, and a cargo-packager NSIS config.

Rune is pinned to 4ddf696b0f and its three patched crates are vendored under
app/vendor, since a dependency's [patch.crates-io] does not apply to the app.

The daemon's OBS bootstrap never reached its IPC server on this machine, so
the live check is a `--probe` command; the wire format is covered by tests.
2026-11-15 21:53:44 +01:00