use anyhow::Result; use galaxy_core::channel::{Channel, ChannelState}; use galaxy_core::features; fn main() -> Result<()> { let config = warp_channel_config::load_config!("local"); let mut state = ChannelState::new(Channel::Local, config) .with_additional_features(features::DEBUG_FLAGS) .with_additional_features(features::DOGFOOD_FLAGS) .with_additional_features(features::PREVIEW_FLAGS) .with_additional_features(features::LOCAL_FLAGS); // Enable sandbox telemetry feature flag if the env var is set. if std::env::var("WITH_SANDBOX_TELEMETRY").is_ok() { state = state.with_additional_features(&[features::FeatureFlag::WithSandboxTelemetry]); } ChannelState::set(state); galaxy::run() } // If we're not using an external plist, embed the following as the Info.plist. #[cfg(all(not(feature = "extern_plist"), target_os = "macos"))] embed_plist::embed_info_plist_bytes!(r#" CFBundleDevelopmentRegion English CFBundleDisplayName Galaxy CFBundleExecutable galaxy-local CFBundleIdentifier samsung.galaxy.GalaxyLocal CFBundleInfoDictionaryVersion 6.0 CFBundleName Galaxy CFBundlePackageType APPL CFBundleShortVersionString 0.1.0 LSApplicationCategoryType public.app-category.developer-tools NSHighResolutionCapable UIDesignRequiresCompatibility CFBundleURLTypes CFBundleURLNameGalaxyCFBundleURLSchemesgalaxyai NSHumanReadableCopyright © 2026, Samsung Electronics Co., Ltd. "#.as_bytes());