Skip to content

Add Windows install override command#844

Open
MihneaTeodorStoica wants to merge 1 commit intomicrosoft:mainfrom
MihneaTeodorStoica:windows-install-override
Open

Add Windows install override command#844
MihneaTeodorStoica wants to merge 1 commit intomicrosoft:mainfrom
MihneaTeodorStoica:windows-install-override

Conversation

@MihneaTeodorStoica
Copy link
Copy Markdown
Contributor

Summary

  • Add hidden Windows-only --x-install and --x-uninstall commands.
  • Copy the current edit.exe into %ProgramFiles%\Microsoft\Edit as a stable install location.
  • Update the machine Path so that stable directory is placed before System32, then broadcast the environment change.

Fixes #829

Validation

  • cargo fmt --all -- --check
  • cargo check -p edit
  • cargo check -p edit --target x86_64-pc-windows-msvc
  • cargo clippy -p edit -- --no-deps --deny warnings
  • cargo clippy -p edit --target x86_64-pc-windows-msvc -- --no-deps --deny warnings
  • cargo test -p edit
  • git diff --check

@MihneaTeodorStoica MihneaTeodorStoica marked this pull request as ready for review May 2, 2026 08:12
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.

[Installation] Winget package path includes version number, causing PATH conflicts and update breakage

1 participant