Skip to content

fix(autostart): explicitly load LaunchAgent via launchctl on macOS - #204

Merged
apapi merged 1 commit into
mainfrom
fix-203-macos-autostart
Oct 3, 2026
Merged

apapi merged 1 commit into
mainfrom
fix-203-macos-autostart

Conversation

@apapi

@apapi apapi commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

macOS 27 no longer auto-loads LaunchAgents placed in ~/Library/LaunchAgents/ and refuses plists carrying the com.apple.quarantine xattr. Enable() now strips quarantine and registers the agent with (preferred over
which returns spurious EIO on macOS 26+).
Disable() unloads via before removing the
plist.

Fixes #203

macOS 27 no longer auto-loads LaunchAgents placed in
~/Library/LaunchAgents/ and refuses plists carrying the
com.apple.quarantine xattr. Enable() now strips quarantine and
registers the agent with  (preferred over
 which returns spurious EIO on macOS 26+).
Disable() unloads via  before removing the
plist.

Fixes #203
@apapi
apapi merged commit dbe5510 into main Oct 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

开机自启动功能,在macos 27上失效

1 participant