Async move item for helper - #7
Open
abiligiri wants to merge 3 commits into
Open
Conversation
abiligiri
commented
Aug 30, 2026
- Add Async move helper to allow installs and other file operations using the privileged helper
- Add uninstalling state to allow UI to show in-progress uninstall
Allows callers to route the post-unarchive move into place through an async privileged-helper XPC call instead of only synchronous FileManager operations.
Lets callers show progress feedback while a privileged-helper delete is in flight instead of leaving the row looking unchanged for the whole operation. XcodeListComposer now preserves .uninstalling across recomposes the same way it already preserves .installing, so a concurrent available-list refresh doesn't prematurely clear the in-progress state.
Preserving it (like .installing) meant the row never cleared back to .notInstalled after a real uninstall finished, since AppState's own post-uninstall updateInstalledXcodesAsync() recompute would just keep restoring the stale in-progress marker instead of the freshly-scanned disk state.
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
注册 for free
to join this conversation on GitHub.
Already have an account?
登录 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.