mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-28 12:27:16 +03:00
fix(build): fix app permissions not included when there isn't any inlined plugins (#9025)
* fix(build): fix app permissions not included when there isn't any inlined plugins * simplify --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
parent
f5e7f3843e
commit
8fcbce9404
@ -434,9 +434,9 @@ pub fn app_manifest_permissions(
|
||||
&app_out_dir,
|
||||
// filter out directories containing inlined plugins
|
||||
|p| {
|
||||
inlined_plugins_permissions
|
||||
!inlined_plugins_permissions
|
||||
.iter()
|
||||
.any(|inlined_path| p.strip_prefix(inlined_path).is_err())
|
||||
.any(|inlined_path| p.starts_with(inlined_path))
|
||||
},
|
||||
)?);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user