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

Ouverte
#340 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
67/100
Type d'issue
Fonctionnalité
Clarté
Clairement spécifiée
Activité
Active
Stack technique
powershell, rust

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Rust
Étoiles
3
Forks
1
Merge moyen
9 h 51 min
PR mergées (30 j)
310

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de codeatlasdev/atlas

Toutes les issues de codeatlasdev/atlas

Issues similaires

Plus d'issues Rust

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.