docs: document the automatic update and the new UI features
Users could not tell where the updated binary lands or why an update may need a compiler. Describe the install location and the four update strategies in both READMEs, alongside the tray, shortcuts, log filter and CSV exports. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
1 parent
cddc5f956a
commit
209e2706ee
2 files changed
+50
-4
No files matched your search
+25
-2
@@ -116,6 +116,27 @@ update-desktop-database ~/.local/share/applications
|
||||
PacManager
|
||||
```
|
||||
|
||||
### Automatic update
|
||||
|
||||
At startup (then once a day), PacManager queries the repository's latest release
|
||||
and offers to update itself. The new binary is **always written to the directory
|
||||
of the running executable**, so the update follows the app wherever it is
|
||||
installed (`~/.local/bin`, `/usr/bin`, an extracted folder, a build tree…)
|
||||
without assuming any particular prefix.
|
||||
|
||||
The method is picked automatically (no configuration):
|
||||
|
||||
| Method | When | What happens |
|
||||
| --- | --- | --- |
|
||||
| **Checkout** | a source checkout surrounds the binary (dev) | `git pull` + rebuild in place |
|
||||
| **Clone** | installed app with no checkout, and `git` + `cmake` + a compiler | the repo is cloned/updated in `~/.local/share/PacManager/src`, rebuilt and installed in place |
|
||||
| **Prebuilt** | no build toolchain available | the release's prebuilt archive is downloaded and unpacked |
|
||||
| **Tarball** | no `git`, but `cmake` + a compiler | the release sources are built and installed |
|
||||
|
||||
Everything builds in a temporary directory: only the final replacement of the
|
||||
binary (and plugins) needs `sudo`, and only when the target directory is owned
|
||||
by root. Restart the application to activate the new version.
|
||||
|
||||
## Graphical interface
|
||||
|
||||
The interface uses **Qt6** with a dark theme, a **navigation sidebar** and stacked pages:
|
||||
@@ -123,9 +144,11 @@ The interface uses **Qt6** with a dark theme, a **navigation sidebar** and stack
|
||||
- 🔍 **Search**: search bar, package table on the left and details on the right
|
||||
- 📦 **Installed**: list with **instant name filter** (local, no pacman re-run)
|
||||
- ⬆️ **Updates**: outdated packages detected by `pacman -Qu`, "Update all" button
|
||||
- 📋 **History**: filterable table (installs / removals / updates)
|
||||
- 📜 **Logs**: built-in `/var/log/pacman.log` viewer
|
||||
- 📋 **History**: filterable table (installs / removals / updates) + CSV export
|
||||
- 📜 **Logs**: built-in `/var/log/pacman.log` viewer with an instant filter
|
||||
- 🧩 **Plugins**: lists every plugin (package providers and extensions), enable / disable and plugin rescan
|
||||
- ⌨️ **Convenience**: system tray icon and keyboard shortcuts (Ctrl+F search, Ctrl+R / F5 refresh, Ctrl+U updates, Ctrl+E export, Ctrl+Q quit)
|
||||
- 📤 **Export**: the displayed package list and the history can be exported as CSV
|
||||
|
||||
### Interface overview
|
||||
```text
|
||||
|
||||
Reference in new issue
Block a user