mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
feat(core): recursive fs scope on directory file-drop event (#954)
* allow recursive fs scope on directory file-drop events * Create allow-recursive-fs-scope-on-file-drop-directory.md * Update .changes/allow-recursive-fs-scope-on-file-drop-directory.md
This commit is contained in:
@@ -120,7 +120,7 @@ pub fn init<R: Runtime>() -> TauriPlugin<R, Option<config::Config>> {
|
||||
if path.is_file() {
|
||||
scope.allow_file(path);
|
||||
} else {
|
||||
scope.allow_directory(path, false);
|
||||
scope.allow_directory(path, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user