fix: 修复 MSD ISO/FLASH 挂载识别错误;完善错误提示

This commit is contained in:
mofeng-git
2026-07-26 22:59:27 +08:00
parent 27c8da9a75
commit 376dc97134
24 changed files with 1703 additions and 522 deletions

View File

@@ -204,6 +204,8 @@ pub enum SystemEvent {
total_bytes: Option<u64>,
progress_pct: Option<f32>,
status: String,
#[serde(skip_serializing_if = "Option::is_none")]
error_code: Option<String>,
},
#[serde(rename = "system.device_info")]
@@ -372,6 +374,7 @@ mod tests {
total_bytes: None,
progress_pct: None,
status: String::new(),
error_code: None,
},
SystemEvent::DeviceInfo {
video: VideoDeviceInfo {