fix(core): extend allowlist with app's allowlist, closes #5650 (#5652)

This commit is contained in:
Amr Bashir
2022-11-18 17:27:38 +02:00
committed by GitHub
parent ed43ff3243
commit bb2510876d
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
---
"tauri-utils": "patch"
---
Fix `allowlist > app > show/hide` always disabled when `allowlist > app > all: false`.

View File

@@ -2147,6 +2147,7 @@ impl Allowlist for AllowlistConfig {
features.extend(self.protocol.to_features());
features.extend(self.process.to_features());
features.extend(self.clipboard.to_features());
features.extend(self.app.to_features());
features
}
}