Repository navigation
feat(launch): support quiet offline relaunch and settings reopen - #170
Merged
Merged
Conversation
This was referenced Nov 2, 2026
SonneFish
marked this pull request as ready for review
November 2, 2026 06:58
3 of 4 tasks
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.
Summary
Keep Copy Path available locally in the Finder extension when the host is offline, while disabling actions that require the host. Make the offline hint clickable to relaunch the host quietly. Manual launches and reopens request the settings window; automatic scene opening and window restoration are suppressed. Distinguish hint-triggered launches using an environment flag and an App Group marker.
This is an independent part of #166, split at the maintainer’s request and targeting
dev.Acceptance criteria
activates = false, and writes the quiet-launch marker into the authorized App Group shared with the configuration store.Validation
build-for-testing: the app, Finder extension, and test targets build independently (arm64, code signing disabled).git diff --checkpasses. Fork-specific signing, bundle identifiers, App Groups, and packaging scripts are excluded.action_required, awaiting maintainer approval via Approve and run; tests have not executed.Risks and limitations
Login launch detection still uses “login item enabled and system uptime below 180 seconds,” and the hint marker suppresses settings for five seconds. These heuristics can misclassify a later login, an early manual launch, or a manual reopen immediately after hint-triggered startup. The notification subscription with a hidden menu bar icon and relaunch during shutdown also remain to be validated. This PR preserves the current strategy rather than redesigning it.
The regular local Xcode test host exited before executing tests. The temporary SwiftPM library host compiles the same production sources, excluding the app entry point; its results do not replace end-to-end testing of the signed app.
Related PRs
Split from #166 at the maintainer's suggestion:
Each PR targets
devand builds independently. Combining them in the order above was verified to merge without conflicts.