mirror of
https://github.com/Novattz/creamlinux-installer.git
synced 2026-04-30 03:52:04 -04:00
Fix steam api being nested too deep #100
This commit is contained in:
@@ -410,9 +410,9 @@ impl SmokeAPI {
|
||||
fn find_libsteam_api(game_path: &Path) -> Result<std::path::PathBuf, String> {
|
||||
use walkdir::WalkDir;
|
||||
|
||||
// Scan for libsteam_api.so (not too deep to keep it fast)
|
||||
// Scan for libsteam_api.so (some games place it several subdirectories deep)
|
||||
for entry in WalkDir::new(game_path)
|
||||
.max_depth(3)
|
||||
.max_depth(8)
|
||||
.into_iter()
|
||||
.filter_map(Result::ok)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user