Merge pull request #13047 from AFOliveira/fix/factory-reset-packaged-path-20260923

Pin factory-reset elevation to the packaged command
This commit is contained in:
Erik Melton authored and GitHub committed 2026-10-09 21:17:17 +02:00
commit 2519fd9a97
3 files changed
+87 -1

No files matched your search

+2
View File
@@ -198,6 +198,8 @@ yet and silently runs the packaged copy of one it has. The drop-in is validated
with `visudo -c` before install and removed by `omarchy-dev-unlink`; unlike
`/etc/omarchy.conf`, it takes effect without a reboot.
Factory reset is an exception: it always self-elevates through `/usr/bin/omarchy-system-factory-reset` and refuses a checkout copy that differs from the installed command, including when invoked with `sudo`. Install the matching package before resetting so a newer checkout cannot silently hand off to older account-scrubbing code.
## Runtime finalization (`omarchy-provision-user`)
Runs once per user. It does **not** copy `~/.config/**`, `~/.bashrc`,