use std::{
fs, io,
os::unix::fs::{MetadataExt, PermissionsExt},
path::Path,
};
use gpapi::process::collection::CollectorCommands;
use super::SentinelInfo;
const SENTINELCTL: &str = "/Library/Sentinel/sentinel-agent.bundle/Contents/MacOS/sentinelctl";
pub(super) fn detect(commands: &CollectorCommands<'_>) -> io::Result