Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ reports that the mouse is offline, turn it on or move it, then retry.
<img src="assets/demo.gif" alt="gbat version, battery output, and Raycast script demo" width="700">
</p>

This terminal demo shows real battery readings from `gbat 1.0.0`. It is a
This terminal demo shows real battery readings from `gbat 0.0.1`. It is a
historical recording, so its version may differ from the current release.
See [recording details](docs/recording.md) for its source and update instructions.

Expand Down
2 changes: 1 addition & 1 deletion README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ gbat
<img src="assets/demo.gif" alt="gbat 版本、电量输出和 Raycast 脚本演示" width="700">
</p>

这段终端演示使用 `gbat 1.0.0` 读取真实鼠标电量。录屏保留了当时的版本,可能与当前 Release 不同。源码版本和更新方法见[录屏说明](docs/recording.md)。
这段终端演示使用 `gbat 0.0.1` 读取真实鼠标电量。录屏保留了当时的版本,可能与当前 Release 不同。源码版本和更新方法见[录屏说明](docs/recording.md)。

## Raycast

Expand Down
Binary file modified assets/demo.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions docs/recording.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# README recordings

The terminal animation was captured on September 17, 2026, on macOS 27.0 with a
The terminal animation was captured on October 13, 2026, on macOS 27.0.1 with a
connected Logitech mouse. Its battery readings are live output.
The Raycast animation is the original GitHub asset and is kept unchanged.

| Asset | Captured version | Source |
| --- | --- | --- |
| [`demo.gif`](../assets/demo.gif) | `gbat 1.0.0` | Local release build of `1.0.0`, from history before the repository was reset |
| [`demo.gif`](../assets/demo.gif) | `gbat 0.0.1` | Local release build of `0.0.1` |
| [`raycast-demo.webp`](../assets/raycast-demo.webp) | Original capture; software versions not recorded | Original GitHub asset, retained unchanged |

The terminal demo shows the binary's own `--version` output and `Battery: 88%`.
The terminal demo shows the binary's own `--version` output and `Battery: 61%`.
A later terminal recording may show a different level or charging state.
The original Raycast animation shows the `Logitech Mouse Battery` command and
`Battery: 86%`. It demonstrates the workflow without identifying a gbat release.
Expand All @@ -36,7 +36,7 @@ are removed on exit. This avoids a VHS `0.12.0` issue where the recording contex
is cancelled before rendering, leaving the existing GIF untouched despite a
successful exit. See the upstream [render call](https://github.com/charmbracelet/vhs/blob/v0.12.0/evaluator.go#L187).

The checked-in capture used VHS `0.12.0`, ttyd `1.7.7`, and FFmpeg `9.0.1`.
The checked-in capture used VHS `0.12.1`, ttyd `1.7.7`, and FFmpeg `9.0.2`.
If you change the tape's dimensions, frame rate, padding, theme, or window bar,
update the matching FFmpeg settings in [`record-demo.sh`](record-demo.sh).

Expand Down
Loading