fix(update): replace the running binary atomically and relaunch it
tests / version-guard (push) Has been cancelled
tests / build-test (push) Has been cancelled

Copying over the executable the update is running from fails with ETXTBSY, so
the self-update aborted after a successful build and left the user to restart
by hand. Installing through a rename, then handing over to the new build, lets
the update complete on its own.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
This commit is contained in:
BlackAngelTV committed 2026-09-11 21:45:25 +02:00
1 parent 209e2706ee
commit 4ef37dcda6
6 files changed
+248 -38

No files matched your search

+2 -1
View File
@@ -135,7 +135,8 @@ La méthode est choisie automatiquement (aucune configuration) :
Tout se compile dans un dossier temporaire : seul le remplacement final du
binaire (et des plugins) demande `sudo`, et uniquement si le dossier cible
appartient à root. Redémarrez l'application pour activer la nouvelle version.
appartient à root. PacManager redémarre ensuite automatiquement sur la nouvelle
version.
## Interface graphique