testing video parse

This commit is contained in:
2025-03-27 11:30:03 +08:00
parent e29b48b98c
commit afa7355f4d
7 changed files with 211 additions and 32 deletions

View File

@@ -55,7 +55,7 @@ pub fn get_powerplan() -> Result<i32, String> {
let powerplan = powerplan::get_powerplan()?;
#[cfg(not(target_os = "windows"))]
let powerplan = powerplan::PowerPlanMode::Other.into();
let powerplan = powerplan::PowerPlanMode::Other as i32;
Ok(powerplan)
}