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

+1 -1
View File
@@ -135,7 +135,7 @@ The method is picked automatically (no configuration):
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.
by root. PacManager then restarts automatically on the new version.
## Graphical interface