Fix hang on Windows
This commit is contained in:
parent
1059ccd566
commit
f3bd444b32
1 changed files with 1 additions and 6 deletions
7
fetch.sh
7
fetch.sh
|
@ -244,12 +244,7 @@ getdistro () {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Windows")
|
"Windows")
|
||||||
# TODO: Detect XP/7
|
distro="Windows"
|
||||||
if [ "$(wmic os get version | grep -o '^10')" ]; then
|
|
||||||
distro="Windows 10"
|
|
||||||
else
|
|
||||||
distro="Windows"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
|
|
Loading…
Reference in a new issue