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

Commit 7b1f0c2

Browse files
committed
neofetch: Fix windows detection
1 parent aab631c commit 7b1f0c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neofetch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ get_distro() {
11021102
fi
11031103

11041104
if [[ $(< /proc/version) == *Microsoft* || $kernel_version == *Microsoft* ]]; then
1105-
windows_version=$(wmic os get Version)
1105+
windows_version=$(wmic.exe os get Version)
11061106
windows_version=$(trim "${windows_version/Version}")
11071107

11081108
case $distro_shorthand in

0 commit comments

Comments
 (0)