Skip to content

fix(windows): persist installation in system path - #6

Merged
EduardoNGomes merged 4 commits into
mainfrom
fix/windows-system-path
Sep 14, 2026
Merged

EduardoNGomes merged 4 commits into
mainfrom
fix/windows-system-path

Conversation

@EduardoNGomes

@EduardoNGomes EduardoNGomes commented Sep 14, 2026 •

Copy link
Copy Markdown
Owner

Windows installation registered only the user PATH and left the current PowerShell session unable to find mdo. Install the executable under Program Files\mdo, require administrator privileges, and register the directory in both the persistent system PATH and the current session.

Preserve existing PATH entries, avoid duplicates on reinstallation, and stop on installation errors before reporting success. Document administrator access, the script directory and a session-only execution policy override. Add installer regression tests to CI for Windows PowerShell 5.1 and PowerShell 7.

Validation: CI passed, including native installer regression tests in Windows PowerShell 5.1 and PowerShell 7, Go tests, the race detector and the build. Windows tests verify persistent system PATH registration, current-session command priority, reinstallation without duplicates, empty PATH handling and failure behavior.

@EduardoNGomes
EduardoNGomes merged commit ddba7d3 into main Sep 14, 2026
4 checks passed
@EduardoNGomes
EduardoNGomes deleted the fix/windows-system-path branch September 23, 2026 14:38
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