diff --git a/README.en.md b/README.en.md index f1cd04c..c1a3f15 100644 --- a/README.en.md +++ b/README.en.md @@ -131,13 +131,17 @@ The method is picked automatically (no configuration): | --- | --- | --- | | **Checkout** | a source checkout surrounds the binary (dev) | `git pull`, rebuild, install into the binary's directory | | **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 | +| **Prebuilt** | no build toolchain available, and the release has a prebuilt archive attached | that 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. PacManager then restarts automatically on the new version. +Nothing produces a prebuilt archive automatically: without one attached to the +release, **Clone** or **Tarball** applies instead (so `git`, `cmake` and a +compiler are needed on the machine). + All four methods install to the same place — the running binary's directory — and rewrite the `version` file there. To know which release is really installed, PacManager keeps the **newest** of two sources: the version compiled into the diff --git a/README.md b/README.md index 4858e4d..5c63c94 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ La méthode est choisie automatiquement (aucune configuration) : | --- | --- | --- | | **Checkout** | un dépôt source entoure le binaire (dev) | `git pull`, recompilation puis installation dans le dossier du binaire | | **Clone** | app installée sans dépôt, avec `git` + `cmake` + compilateur | le dépôt est cloné puis mis à jour dans `~/.local/share/PacManager/src`, recompilé et installé en place | -| **Prebuilt** | pas d'outillage de compilation | l'archive précompilée de la release est téléchargée et décompressée | +| **Prebuilt** | pas d'outillage de compilation et une archive précompilée est attachée à la release | l'archive est téléchargée et décompressée | | **Tarball** | `git` absent mais `cmake` + compilateur présents | les sources de la release sont compilées puis installées | Tout se compile dans un dossier temporaire : seul le remplacement final du @@ -139,6 +139,10 @@ binaire (et des plugins) demande `sudo`, et uniquement si le dossier cible appartient à root. PacManager redémarre ensuite automatiquement sur la nouvelle version. +Rien ne produit d'archive précompilée automatiquement : sans archive attachée à +la release, ce sont **Clone** ou **Tarball** qui s'appliquent (donc `git`, `cmake` +et un compilateur sur la machine). + Les quatre méthodes installent au même endroit — le dossier du binaire en cours — et y réécrivent le fichier `version`. Pour savoir quelle version est réellement installée, PacManager retient la **plus récente** des deux sources : la version