fix: keep launch agent alive and inject PATH
This commit is contained in:
@@ -60,6 +60,13 @@ enum LaunchAgentManager {
|
|||||||
<string>\(FileManager.default.homeDirectoryForCurrentUser.path)</string>
|
<string>\(FileManager.default.homeDirectoryForCurrentUser.path)</string>
|
||||||
<key>RunAtLoad</key>
|
<key>RunAtLoad</key>
|
||||||
<true/>
|
<true/>
|
||||||
|
<key>KeepAlive</key>
|
||||||
|
<true/>
|
||||||
|
<key>EnvironmentVariables</key>
|
||||||
|
<dict>
|
||||||
|
<key>PATH</key>
|
||||||
|
<string>\(CommandResolver.preferredPaths().joined(separator: ":"))</string>
|
||||||
|
</dict>
|
||||||
<key>MachServices</key>
|
<key>MachServices</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>com.steipete.clawdis.xpc</key>
|
<key>com.steipete.clawdis.xpc</key>
|
||||||
|
|||||||
Reference in New Issue
Block a user