Skip to content

Commit bb25108

Browse files
authored
fix(core): extend allowlist with app's allowlist, closes #5650 (#5652)
1 parent ed43ff3 commit bb25108

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changes/app-show-hide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-utils": "patch"
3+
---
4+
5+
Fix `allowlist > app > show/hide` always disabled when `allowlist > app > all: false`.

core/tauri-utils/src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,7 @@ impl Allowlist for AllowlistConfig {
21472147
features.extend(self.protocol.to_features());
21482148
features.extend(self.process.to_features());
21492149
features.extend(self.clipboard.to_features());
2150+
features.extend(self.app.to_features());
21502151
features
21512152
}
21522153
}

0 commit comments

Comments
 (0)