use anyhow::Result; use objc2_foundation::NSBundle; /// Apple Developer Team ID used for code signing and validation. pub const APPLE_TEAM_ID: &str = "2BBY89MBSN"; /// Get the path to the macOS `.app` bundle. pub fn get_bundle_path() -> Result { let bundle = NSBundle::mainBundle(); let path = bundle.bundlePath(); Ok(path.to_string()) }