apply feedback

This commit is contained in:
maskers 2025-05-19 15:49:39 +03:00
parent d8c03b8d15
commit 83d2614a75

View file

@ -428,14 +428,14 @@ fn nvidia_linux(log: &str) -> Issue {
.to_string(), .to_string(),
); );
let found = log.contains("[libnvidia-glcore.so"); let found = log.contains("# C [libnvidia-glcore.so");
found.then_some(issue) found.then_some(issue)
} }
fn linux_openal(log: &str) -> Issue { fn linux_openal(log: &str) -> Issue {
let issue = ( let issue = (
"Missing .alsoftrc".to_string(), "Missing .alsoftrc".to_string(),
"OpenAL is missing the configuration file. "OpenAL is likely missing the configuration file.
To fix this, create a file named `.alsoftrc` in your home directory with the following content: To fix this, create a file named `.alsoftrc` in your home directory with the following content:
``` ```
drivers=alsa drivers=alsa
@ -443,7 +443,7 @@ hrtf=true```"
.to_string(), .to_string(),
); );
let found = log.contains("[libopenal.so"); let found = log.contains("# C [libopenal.so");
found.then_some(issue) found.then_some(issue)
} }