Fix the OS check for windows (#2832)

This commit is contained in:
Jeremy Leibs 2023-03-23 15:15:00 +01:00 committed by GitHub
parent 59c2c4c70d
commit 089c7b46f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ impl OperatingSystem {
} else if cfg!(target_os = "macos") {
Self::Mac
} else if cfg!(target_os = "windows") {
Self::Android
Self::Windows
} else if cfg!(target_os = "linux")
|| cfg!(target_os = "dragonfly")
|| cfg!(target_os = "freebsd")