Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/infra/runners/wine_tkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions src/proton.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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] = &[
Expand Down