mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
[yabridgectl] Print yabridge host paths in status
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -113,6 +113,25 @@ pub fn show_status(config: &Config) -> Result<()> {
|
||||
.map(|(path, arch)| format!("'{}' ({})", path.display(), arch))
|
||||
.unwrap_or_else(|| "<not found>".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(|| "<not found>".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(|| "<not found>".red().to_string())
|
||||
);
|
||||
}
|
||||
Err(err) => {
|
||||
println!("Could not find yabridge's files: {}\n", err);
|
||||
|
||||
Reference in New Issue
Block a user