fix(updater): run the handoff script via systemd-run so it survives the app's scope

On uwsm/Hyprland the app runs in a systemd scope cgroup; a detached child is
swept away when the app quits, which killed the swap mid-flight on every
in-app update attempt. systemd-run gives the installer its own transient
unit that outlives the scope; detached spawn stays as the non-systemd
fallback.
This commit is contained in:
avi 2026-10-04 13:09:55 -05:00
commit 12977e1a77
2 changed files with 35 additions and 7 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "folio",
"version": "0.1.7",
"version": "0.1.8",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "folio",
"version": "0.1.7",
"version": "0.1.8",
"license": "MIT",
"dependencies": {
"@tiptap/core": "^2.27.2",