-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Feat/cleanup autogenerated permissions #14493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Feat/cleanup autogenerated permissions #14493
Conversation
Package Changes Through ec13c28There are 7 changes which include @tauri-apps/api with patch, tauri-utils with patch, tauri-cli with patch, tauri with patch, tauri-bundler with patch, @tauri-apps/cli with patch, tauri-macos-sign with patch 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 |
|
@FabianLars,@Legend-Master PR is ready for mearge please review and suggest changes if required.. |
Legend-Master
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Also do you mind adding a change file?
https://github.com/tauri-apps/tauri/blob/dev/.changes/README.md
crates/tauri-utils/src/acl/build.rs
Outdated
|
|
||
| use std::collections::HashSet; | ||
|
|
||
| let expected_files: HashSet<String> = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can push a list of generated files from this time near the let out_path = path.join(format!("{command}.toml")); above
b9b9353 to
bf7244e
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
@Legend-Master Please review and let me know if anything else is needed. |
5a258b1 to
ec13c28
Compare
Description
This PR adds automatic cleanup of outdated autogenerated permission files.
Previously, old
.tomlfiles stayed in theautogeneratedfolder even after commands were removed, causing stale permissions to load at runtime.What’s changed
Why
Prevents stale permission files, reduces confusion, and keeps generated output accurate.
Related Issue
Fixes #14320