Explorar o código

fix(tauri-build): skip validating tray-icon feature flag (#7610)

Lucas Fernandes Nogueira %!s(int64=2) %!d(string=hai) anos
pai
achega
560b34dd2a
Modificáronse 2 ficheiros con 6 adicións e 0 borrados
  1. 5 0
      .changes/fix-tray-icon-validation.md
  2. 1 0
      core/tauri-build/src/allowlist.rs

+ 5 - 0
.changes/fix-tray-icon-validation.md

@@ -0,0 +1,5 @@
+---
+"tauri-build": patch:bug
+---
+
+Skip validation of the `tray-icon` feature flag.

+ 1 - 0
core/tauri-build/src/allowlist.rs

@@ -53,6 +53,7 @@ pub fn check(config: &Config, manifest: &mut Manifest) -> Result<()> {
         .tauri
         .features()
         .into_iter()
+        .filter(|f| f != &"tray-icon")
         .map(|f| f.to_string())
         .collect::<Vec<String>>(),
     },