Add more support detection for bios/system level components

This commit is contained in:
Luke D. Jones
2022-07-17 21:01:19 +12:00
parent 23353c77f3
commit f39c0db680
12 changed files with 83 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "asusctl"
version = "4.0.7"
version = "4.2.1"
authors = ["Luke D Jones <luke@ljones.dev>"]
edition = "2018"

View File

@@ -709,8 +709,8 @@ fn handle_bios_option(
.collect();
for line in usage.iter().filter(|line| {
line.contains("sound") && supported.post_sound_toggle
|| line.contains("GPU") && supported.dedicated_gfx_toggle
line.contains("sound") && supported.post_sound
|| line.contains("GPU") && supported.dedicated_gfx
|| line.contains("panel") && supported.panel_overdrive
}) {
println!("{}", line);