Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Fix Windows 11 detection #1848 #1889

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

kipters
Copy link

@kipters kipters commented Aug 26, 2021

Description

Replace hardcoded "on Windows 10" with the output of wmic os get Caption called via PowerShell interop when running on WSL, fixing #1848

It also correctly shows Fluent as DE when running natively on Windows 11 instead of Aero.

Issues

It now shows "Microsoft Windows" instead of just "Windows" because that's what wmic returns.

@Jakubk15
Copy link

Also it will be good to fix the Windows 7 logo when running neofetch via scoop.
image

@Rexogamer
Copy link

(#1981 seems to have the relevant art - I'd recommend adding it or a variation of it in this PR)

@hykilpikonna
Copy link

Duplicates:
#2109 (Merged into HyFetch)
#2014
#2059
#1818

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants