Fix the OS check for windows (#2832)
This commit is contained in:
parent
59c2c4c70d
commit
089c7b46f3
|
|
@ -36,7 +36,7 @@ impl OperatingSystem {
|
||||||
} else if cfg!(target_os = "macos") {
|
} else if cfg!(target_os = "macos") {
|
||||||
Self::Mac
|
Self::Mac
|
||||||
} else if cfg!(target_os = "windows") {
|
} else if cfg!(target_os = "windows") {
|
||||||
Self::Android
|
Self::Windows
|
||||||
} else if cfg!(target_os = "linux")
|
} else if cfg!(target_os = "linux")
|
||||||
|| cfg!(target_os = "dragonfly")
|
|| cfg!(target_os = "dragonfly")
|
||||||
|| cfg!(target_os = "freebsd")
|
|| cfg!(target_os = "freebsd")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue