فهرست منبع

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

Lucas Fernandes Nogueira 2 سال پیش
والد
کامیت
560b34dd2a
2فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  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>>(),
     },