From bb2510876d0bdff736d36bf3a465cdbe4ad2b90c Mon Sep 17 00:00:00 2001 From: Amr Bashir Date: Fri, 18 Nov 2022 17:27:38 +0200 Subject: [PATCH] fix(core): extend allowlist with `app`'s allowlist, closes #5650 (#5652) --- .changes/app-show-hide.md | 5 +++++ core/tauri-utils/src/config.rs | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changes/app-show-hide.md diff --git a/.changes/app-show-hide.md b/.changes/app-show-hide.md new file mode 100644 index 000000000..261dc722a --- /dev/null +++ b/.changes/app-show-hide.md @@ -0,0 +1,5 @@ +--- +"tauri-utils": "patch" +--- + +Fix `allowlist > app > show/hide` always disabled when `allowlist > app > all: false`. diff --git a/core/tauri-utils/src/config.rs b/core/tauri-utils/src/config.rs index 0a2e8d1ba..906de01dc 100644 --- a/core/tauri-utils/src/config.rs +++ b/core/tauri-utils/src/config.rs @@ -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 } }