diff --git a/CHANGELOG.md b/CHANGELOG.md index b2c35764..30bb1ebf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,12 @@ Versioning](https://semver.org/spec/v2.0.0.html). window. We now use the same validation used in `xprop` and `xwininfo` to find the host's window instead of always taking the topmost window. +### yabridgectl + +- `yabridgectl status` now also lists the paths to `yabridge-host.exe` and + `yabridge-host-32.exe` that yabridge will end up using. This can be helpful + for diagnosing issues with complex setups. + ## [3.4.0] - 2021-07-15 ### Added diff --git a/tools/yabridgectl/src/actions.rs b/tools/yabridgectl/src/actions.rs index 34b6ac05..4878e905 100644 --- a/tools/yabridgectl/src/actions.rs +++ b/tools/yabridgectl/src/actions.rs @@ -113,6 +113,25 @@ pub fn show_status(config: &Config) -> Result<()> { .map(|(path, arch)| format!("'{}' ({})", path.display(), arch)) .unwrap_or_else(|| "".red().to_string()) ); + println!( + "yabridge-host.exe: {}", + files + .yabridge_host_exe + .as_ref() + // We don't care about the actual path, but the file should at least exist + .zip(files.yabridge_host_exe_so.as_ref()) + .map(|(path, _)| format!("'{}'", path.display())) + .unwrap_or_else(|| "".red().to_string()) + ); + println!( + "yabridge-host-32.exe: {}\n", + files + .yabridge_host_32_exe + .as_ref() + .zip(files.yabridge_host_32_exe_so.as_ref()) + .map(|(path, _)| format!("'{}'", path.display())) + .unwrap_or_else(|| "".red().to_string()) + ); } Err(err) => { println!("Could not find yabridge's files: {}\n", err);