Repository navigation
fix(fs): pass require_literal_leading_dot when initializing runtime scope - #3701
Merged
lucasfernog merged 1 commit intoOct 12, 2026
Merged
Conversation
…cope When initializing the plugin's runtime scope in .setup, pass equire_literal_leading_dot from config to FsScope::Scope instead of using FsScope::default() so that paths allowed dynamically via s_scope().allow_directory() inherit the configured value. Closes tauri-apps#3699
Contributor
Package Changes Through 9539b9dThere are 9 changes which include biometric with minor, biometric-js with minor, deep-link with patch, deep-link-js with patch, fs with patch, fs-js with patch, single-instance with patch, updater with minor, updater-js with minor Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
lucasfernog
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Resolves #3699 where directories allowed dynamically at runtime via s_scope().allow_directory(path, true) failed to reach dotfiles/dot-directories when plugins.fs.requireLiteralLeadingDot: false was set in auri.conf.json.
Root Cause
In .setup(), the runtime scope was instantiated with &FsScope::default() which left
equire_literal_leading_dot: None (falling back to cfg!(unix) inside auri::fs::Scope).
Fix
Construct &FsScope::Scope passing
equire_literal_leading_dot resolved from the plugin config so the runtime scope honors the user's plugin configuration.
Closes #3699