Skip to content

fix: refuse a second Wayscriber prefix so overlay spawn stays on one binary - #345

Merged
devmobasa merged 2 commits into
mainfrom
fix/dual-prefix-install
Aug 18, 2026
Merged

fix: refuse a second Wayscriber prefix so overlay spawn stays on one binary#345
devmobasa merged 2 commits into
mainfrom
fix/dual-prefix-install

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Summary

Overlay spawn follows the running daemon's file, not whichever wayscriber the user ran --version / --about on. A leftover copy under /usr, /usr/local, or ~/.local/bin makes those commands disagree with the overlay and looks like a missing setting.

  • Refuse a second unmanaged binary, prefix unit, or dest-mismatched user unit / drop-in from ./tools/install.sh unless --replace-other is passed or the operator confirms on a TTY. A symlink that already resolves to the dest is not a conflict.
  • Warn at daemon start when another wayscriber file is still on PATH or under those well-known prefixes.
  • Document the same dual-prefix rules for the direct Arch installer, and do not close "I don't have that setting / this build" reports until the change is in a tagged release (--version is the crate version, not a git hash).

Refuse unmanaged copies under the other prefix, ~/.local/bin, and a dest-mismatched
user unit unless --replace-other is passed. Warn at daemon start when another
binary is still on PATH, and do not close "I don't have that setting" reports
until the change is in a tagged release.
@devmobasa
devmobasa merged commit 8516bde into main Aug 18, 2026
2 checks passed
@devmobasa
devmobasa deleted the fix/dual-prefix-install branch August 18, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant