diff --git a/src/infra/runners/wine_tkg.rs b/src/infra/runners/wine_tkg.rs index 800945b..3d6cf2c 100644 --- a/src/infra/runners/wine_tkg.rs +++ b/src/infra/runners/wine_tkg.rs @@ -694,7 +694,11 @@ impl Runner for WineTkgRunner { // the .dll.so PE loader stubs it needs to bridge into native DLLs. let active_runner = crate::utils::resolve_runner(proton, &library_root); let runner_root = crate::utils::derive_runner_root(&active_runner); - for lib_sub in crate::proton::UNIFIED_LIB_SUBDIRS { + + let mut all_lib_dirs = crate::proton::UNIFIED_LIB_SUBDIRS.to_vec(); + all_lib_dirs.extend_from_slice(crate::proton::UNIFIED_BASE_LIB_SUBDIRS); + + for lib_sub in all_lib_dirs { let p = runner_root.join(lib_sub); if p.exists() { let s = p.to_string_lossy().to_string(); diff --git a/src/proton.rs b/src/proton.rs index 9f478b3..ea59748 100644 --- a/src/proton.rs +++ b/src/proton.rs @@ -42,6 +42,8 @@ pub const UNIFIED_BASE_LIB_SUBDIRS: &[&str] = &[ pub const ARCH_SUBDIRS: &[(&str, &str)] = &[ ("x86_64", "x86_64-windows"), ("i386", "i386-windows"), + ("x86_64", "x86_64-unix"), + ("i386", "i386-unix"), ]; pub const COMPONENT_FAMILIES: &[&str] = &[