Windows: `atlas doctor` "new terminal" check from the registry Path

Aperta
#340 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
67/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
powershell, rust

Direzione di ricerca

Start at the atlas doctor new-terminal check and the existing install::has_user_path helper, which already reads the user Path through PowerShell. Read how terminal_probe invokes and parses a shell, then run the doctor on Windows and inspect HKCU and system Path entries. Done means the check resolves atlas.exe on both Paths and confirms it points at %USERPROFILE%\.atlas\bin\atlas.exe (or the installer copy), with pwsh parsing covered by a test if that probe path is used.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

good first issue os: windows type: feature

atlas doctor (#338) checks whether a new terminal finds atlas by starting the account's shell the way a terminal does. On Windows a new terminal takes its PATH from the registry (HKCU\Environment\Path plus the system Path), not from a shell rc, so the check currently reports "not checked on Windows yet" as a warning.

Do it properly: read user and system Path (install::has_user_path already queries the user one through PowerShell), resolve atlas.exe along them, and check that it is %USERPROFILE%\.atlas\bin\atlas.exe (or the installer's copy). Also verify terminal_probe's output parsing with pwsh if we ever probe a shell there. Roadmap #289.

Lingua principale
Rust
Stelle
3
Fork
1
Merge medio
9h 51m
PR unite (30g)
310

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codeatlasdev/atlas

Tutte le issue di codeatlasdev/atlas

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.