()
| 233 | } |
| 234 | |
| 235 | fn 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 | |
| 243 | fn plist_path() -> anyhow::Result<PathBuf> { |
| 244 | plist_path_for_label(SERVICE_LABEL) |
no test coverage detected