MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / ensure_launch_agent_supported

Function ensure_launch_agent_supported

packages/server/src/service.rs:235–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233}
234
235fn ensure_launch_agent_supported() -> anyhow::Result<()> {
236 if launch_agent_supported() {
237 Ok(())
238 } else {
239 bail!("SimDeck persistent LaunchAgent services are only available on macOS.")
240 }
241}
242
243fn plist_path() -> anyhow::Result<PathBuf> {
244 plist_path_for_label(SERVICE_LABEL)

Callers 6

enableFunction · 0.85
restartFunction · 0.85
resetFunction · 0.85
pairFunction · 0.85
disableFunction · 0.85
kill_installedFunction · 0.85

Calls 1

launch_agent_supportedFunction · 0.85

Tested by

no test coverage detected