Skip to content

Fix Windows installer PATH handling and improve installer UX#4

Merged
buzzer-re merged 3 commits into
mainfrom
dev
Jun 13, 2026
Merged

Fix Windows installer PATH handling and improve installer UX#4
buzzer-re merged 3 commits into
mainfrom
dev

Conversation

@buzzer-re

Copy link
Copy Markdown
Owner
  • Use sysconfig's user scheme to find the real per-user scripts dir (versioned on Windows) instead of assuming USER_BASE\Scripts
  • Replace Write-Error crashes with clean failure messages plus actionable hints; check native exit codes at each step
  • Suppress native stderr safely under Stop preference (PS 5.1 turns redirected stderr into terminating NativeCommandError)
  • Treat a persisted-but-not-yet-visible PATH update as success with open-a-new-terminal guidance instead of a hard failure
  • Install from the current checkout instead of cloning a second copy, matching install.sh behavior
  • Mirror the failure-hint and final-message UX in install.sh

buzzer-re and others added 2 commits June 12, 2026 17:56
- Use sysconfig's user scheme to find the real per-user scripts dir
  (versioned on Windows) instead of assuming USER_BASE\Scripts
- Replace Write-Error crashes with clean failure messages plus
  actionable hints; check native exit codes at each step
- Suppress native stderr safely under Stop preference (PS 5.1 turns
  redirected stderr into terminating NativeCommandError)
- Treat a persisted-but-not-yet-visible PATH update as success with
  open-a-new-terminal guidance instead of a hard failure
- Install from the current checkout instead of cloning a second copy,
  matching install.sh behavior
- Mirror the failure-hint and final-message UX in install.sh

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
- Use sysconfig's user scheme to find the real per-user scripts dir
  (versioned on Windows) instead of assuming USER_BASE\Scripts
- Replace Write-Error crashes with clean failure messages plus
  actionable hints; check native exit codes at each step
- Suppress native stderr safely under Stop preference (PS 5.1 turns
  redirected stderr into terminating NativeCommandError)
- Treat a persisted-but-not-yet-visible PATH update as success with
  open-a-new-terminal guidance instead of a hard failure
- Install from the current checkout instead of cloning a second copy,
  matching install.sh behavior
- Mirror the failure-hint and final-message UX in install.sh

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@buzzer-re buzzer-re closed this Jun 13, 2026
@buzzer-re buzzer-re reopened this Jun 13, 2026
@buzzer-re buzzer-re merged commit 3525f85 into main Jun 13, 2026
12 checks passed
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