Pin Version so all builds on Ubuntu 24.04 or newer

This commit is contained in:
Bastian Mäuser committed 2026-11-05 14:38:49 +01:00
1 parent 57a8357dd7
commit 426342eb10
3 files changed
+34 -31

No files matched your search

+11
View File
@@ -40,6 +40,9 @@ Locking goes through `loginctl lock-session` (works with GNOME, KDE, Sway,
## Requirements
- Linux with BlueZ ≥ 5.50 (`bluetoothd` running, adapter powered)
- Rust ≥ 1.85 (`rust-version` is declared in Cargo.toml; the resolver
automatically selects dependency versions compatible with the oldest
supported toolchain)
- The phone must be **paired** with the desktop. Pairing gives the daemon a
stable identity address (BlueZ resolves the phone's rotating random address
against the bonding keys) and is the foundation for authenticated GATT in
@@ -59,6 +62,14 @@ cp config.toml.example ~/.config/btle-proximity/config.toml
btle-proximity list-paired # pick your phone's MAC, edit config.toml
```
If you get `command not found`, `~/.cargo/bin` isn't on your PATH (distro
packages of Rust don't set it up):
```sh
echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc # or ~/.bashrc
source ~/.zshrc
```
Test without locking anything, walk around with the phone and watch:
```sh