feat: rename macOS

This commit is contained in:
2023-10-19 23:26:57 +08:00
parent a66babb828
commit b3359d205b

View File

@@ -141,7 +141,7 @@ pub fn get_user_agent() -> String {
pub fn get_os() -> String { pub fn get_os() -> String {
if cfg!(target_os = "macos") { if cfg!(target_os = "macos") {
"MacOS" "macOS"
} else if cfg!(target_os = "ios") { } else if cfg!(target_os = "ios") {
"iOS" "iOS"
} else if cfg!(target_os = "android") { } else if cfg!(target_os = "android") {