Эх сурвалжийг харах

fix: #2861 return platform type typo "Darwing" instead of "Darwin" (#2862)

Per Steinhorst 3 жил өмнө
parent
commit
7e979dc55f

+ 1 - 1
tooling/cli.rs/src/helpers/mod.rs

@@ -54,7 +54,7 @@ pub fn command_env(debug: bool) -> HashMap<String, String> {
   #[cfg(target_os = "windows")]
   map.insert("PLATFORM_TYPE".into(), "Windows_NT".into());
   #[cfg(target_os = "macos")]
-  map.insert("PLATFORM_TYPE".into(), "Darwing".into());
+  map.insert("PLATFORM_TYPE".into(), "Darwin".into());
 
   if debug {
     map.insert("TAURI_DEBUG".into(), "true".to_string());