FIx : Remove automatic locking for moved apps - #23
Closed
IoneVesper wants to merge 7 commits into
Closed
Conversation
Improve app data scanning, symlink management, and sorting
Improve app data scanning, symlink management, and linked app size display
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
Owner
|
感谢再次提交 PR。 |
Owner
|
我这边后续改动已经提交到主线了,你现在可以基于最新版本继续更新这个 PR。 |
Contributor
Author
|
这两个问题在最新版均未出现,我关闭这个了 |
Owner
|
幸苦幸苦,感谢你的贡献💗 |
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
本次 PR 主要修复了两个与应用迁移后显示行为相关的问题:
本地应用列表中“已链接”应用大小显示错误
已迁移到外部存储的应用,在本地
/Applications列表中会错误显示外部真实应用体积,而不是本地入口壳应用本身的体积。这导致本地列表和外部应用库同时显示相同的大体积,和实际 Finder 中本地入口的占用不一致。由 AppPorts 迁移到外部存储的应用会在 Finder 中显示锁定图标
目前迁移完成后会对外部应用自动设置
immutable锁定属性,导致 Finder 将这些应用显示为已锁定文件。本次修复的核心逻辑是:
已链接应用,改为显示本地入口壳应用的实际体积。0B问题。immutable属性。This PR fixes two issues related to moved apps. First, linked local apps now show the size of the local app portal instead of the full external app bundle, while external apps still show their real bundle size. Second, moved apps no longer get an automatic immutable lock applied, and previously locked managed apps can be automatically unlocked during external app scanning. Symlink-based local app entries such as Anaconda still resolve to their real target size correctly.
🔗 关联 Issue | Related Issues
迁移文件大小和打不开的问题
🧪 测试情况 | Testing
*感谢你的贡献! | Thank you for your contribution!*💗