fix: keep launch agent alive and inject PATH

This commit is contained in:
Peter Steinberger
2025-12-07 05:49:59 +01:00
parent 1ae0b44bc5
commit 093e737af9

View File

@@ -60,6 +60,13 @@ enum LaunchAgentManager {
<string>\(FileManager.default.homeDirectoryForCurrentUser.path)</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>\(CommandResolver.preferredPaths().joined(separator: ":"))</string>
</dict>
<key>MachServices</key>
<dict>
<key>com.steipete.clawdis.xpc</key>