diff --git a/.changes/fix-tray-icon-validation.md b/.changes/fix-tray-icon-validation.md new file mode 100644 index 000000000000..487fb8a0392f --- /dev/null +++ b/.changes/fix-tray-icon-validation.md @@ -0,0 +1,5 @@ +--- +"tauri-build": patch:bug +--- + +Skip validation of the `tray-icon` feature flag. diff --git a/core/tauri-build/src/allowlist.rs b/core/tauri-build/src/allowlist.rs index 813a315339db..8494a5abde47 100644 --- a/core/tauri-build/src/allowlist.rs +++ b/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::>(), },