Repository navigation
Fix login autostart (Windows Run key + macOS LaunchAgent) - #255
Merged
Merged
Conversation
…tray. The auto-launch package registered a disabled Windows Run value named nw and kept adding macOS login items that opened the window and extra Dock icons. Co-authored-by: Cursor <cursoragent@cursor.com>
…pears. Hidden login still registers the LaunchAgent and skips that prompt until the window is open. A stored autostart off is not turned back on. Co-authored-by: Cursor <cursoragent@cursor.com>
The app dependencies were already clean. npm run release audits the full tree, including vitest, happy-dom, and the nw, wait-on, and ESLint tooling. Co-authored-by: Cursor <cursoragent@cursor.com>
That return failed lint and could discard the cleanup result. Co-authored-by: Cursor <cursoragent@cursor.com>
The desktop shell only waits for Continue or Not now. It no longer builds its own overlay. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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
auto-launchwith our own login autostart so Windows starts OnlyKey (canonical Run value + StartupApproved) and macOS stays in the tray via a LaunchAgent (open -gj) instead of stacking Login Items / Dock icons.Screenshots (macOS System Events)
In-app note before the OS prompt:
macOS Automation prompt (purpose string):
Permission granted in System Settings → Privacy & Security → Automation:
Test plan
npm test/npm run releaseaudit path on target OSMade with Cursor