From b3359d205b9e112ae55342608bff97ffa223af47 Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Thu, 19 Oct 2023 23:26:57 +0800 Subject: [PATCH] feat: rename macOS --- src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.rs b/src/util.rs index 84da037..3801e89 100644 --- a/src/util.rs +++ b/src/util.rs @@ -141,7 +141,7 @@ pub fn get_user_agent() -> String { pub fn get_os() -> String { if cfg!(target_os = "macos") { - "MacOS" + "macOS" } else if cfg!(target_os = "ios") { "iOS" } else if cfg!(target_os = "android") {