Sfoglia il codice sorgente

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

Per Steinhorst 3 anni fa
parent
commit
7e979dc55f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tooling/cli.rs/src/helpers/mod.rs

+ 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());