fix(update): replace the running binary atomically and relaunch it
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:
1 parent
209e2706ee
commit
4ef37dcda6
6 files changed
+248
-38
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user