From c459490923a2b0a4722e73e5f7f8e08c48c22acc Mon Sep 17 00:00:00 2001 From: x7peeps Date: Sat, 8 Aug 2026 08:11:18 +0800 Subject: [PATCH] feat(cua-driver): implement macOS LaunchAgent autostart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #2196. ## Summary Implements the macOS autostart path natively in `autostart.rs`, replacing the Windows-only stub with a real LaunchAgent implementation: - `enable` — writes `~/Library/LaunchAgents/com.trycua.driver.plist` (RunAtLoad + KeepAlive), then `launchctl bootstrap gui/ ` (modern API) and `kickstart -k` to start it for the current session. - `disable` — `launchctl bootout gui//