feat: 新增安卓平台支持

This commit is contained in:
mofeng-git
2026-05-24 08:37:19 +00:00
parent dc6475776e
commit b31aae284d
105 changed files with 7900 additions and 473 deletions

View File

@@ -4,7 +4,7 @@ mod event;
mod managers;
mod session;
mod systems;
#[cfg(unix)]
#[cfg(all(unix, not(feature = "android")))]
mod virtual_media;
use axum::{
@@ -200,7 +200,7 @@ pub fn create_redfish_router(state: Arc<AppState>) -> Router {
redfish_auth_middleware,
));
#[cfg(unix)]
#[cfg(all(unix, not(feature = "android")))]
let redfish_routes = redfish_routes.merge(virtual_media::router(state.clone()));
Router::new()