mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-29 13:41:45 +08:00
Merge commit '4b7be20fe0cce3e7979cc3bdfdd7b02ec6630c00' into dev
This commit is contained in:
@@ -18,6 +18,7 @@ use tracing_subscriber::{layer::SubscriberExt, util::SubscriberInitExt};
|
||||
use crate::atx::AtxController;
|
||||
use crate::audio::{AudioController, AudioControllerConfig, AudioQuality};
|
||||
use crate::auth::{SessionStore, UserStore};
|
||||
use crate::computer_use::ComputerUseManager;
|
||||
use crate::config::{self, AppConfig, ConfigStore};
|
||||
use crate::db::DatabasePool;
|
||||
use crate::events::EventBus;
|
||||
@@ -483,6 +484,7 @@ async fn build_app_state(
|
||||
};
|
||||
|
||||
let update_service = Arc::new(UpdateService::new(data_dir.join("updates")));
|
||||
let computer_use = ComputerUseManager::new(config_store.clone(), hid.clone());
|
||||
let state = AppState::new(
|
||||
db,
|
||||
config_store.clone(),
|
||||
@@ -492,6 +494,7 @@ async fn build_app_state(
|
||||
stream_manager,
|
||||
webrtc_streamer,
|
||||
hid,
|
||||
computer_use,
|
||||
msd,
|
||||
atx,
|
||||
audio,
|
||||
|
||||
Reference in New Issue
Block a user