ionic-team / ionic-team/ionic-cli

bug: `ionic info` reports Windows 10 on Windows 11 Pro

Offen
#4,961 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
triage
Vorherrschende Sprache
TypeScript
Sterne
2k
Forks
682
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

v6.x

### Current Behavior

Reports:
```
OS : Windows 10
```

### Expected Behavior

Should report:
```
OS : Windows 11
```

### Steps to Reproduce

1. Run `ionic info` on a Windows 11 Pro machine
2. See output

### Code Reproduction URL

_No response_

### Ionic Info

$ ionic info

Ionic:

Ionic CLI : 6.20.8
Ionic Framework : @ionic/angular 6.5.3
@angular-devkit/build-angular : 15.1.5
@angular-devkit/schematics : 14.2.10
@angular/cli : 15.1.5
@ionic/angular-toolkit : 7.0.0

Capacitor:

Capacitor CLI : 4.6.3
@capacitor/android : not installed
@capacitor/core : 4.6.3
@capacitor/ios : not installed

Utility:

cordova-res : not installed globally
native-run : 1.7.1

System:

NodeJS : v18.12.1 (C:\Program Files\nodejs\node.exe)
npm : 9.1.2
OS : Windows 10

### Additional Information

_No response_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at the `ionic info` command entry point and reproduce the reported OS output on Windows 11 Pro. Trace the OS-version detection used by that command; done means the output reports `OS : Windows 11`, with a regression test if the project exposes a relevant test location.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
cli, operating-systems
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.