Install notification timer with app

This commit is contained in:
2026-05-04 12:22:45 +02:00
parent a593cf6ad0
commit 118e10561c
2 changed files with 35 additions and 13 deletions

View File

@@ -90,7 +90,13 @@ make desktop-dist
make install
```
This installs the binary to `~/.local/bin/lazy-update-manager` and a desktop launcher to `~/.local/share/applications/lazy-update-manager.desktop`.
This installs:
- the binary to `~/.local/bin/lazy-update-manager`
- the desktop launcher to `~/.local/share/applications/lazy-update-manager.desktop`
- the user service and timer to `~/.config/systemd/user/`
When a user systemd session is available, the timer is enabled immediately so update notifications work after install.
The install target now preserves the previous binary by backing it up when it differs, so installations are safe and reversible.
@@ -116,11 +122,7 @@ If you prefer to test the local build without installing, run the bundled binary
./bin/lazy-update-manager gui
```
## Enable Weekly Reminder
```sh
make enable-user-service
```
## Weekly Reminder
The timer runs every two hours, but `lazy-update-manager notify` stores the last reminder timestamp in: