mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
[yabridgectl] Don't mention installation methods
Unless the symlink-based installation method is enabled.
This commit is contained in:
@@ -27,6 +27,12 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
silence and hang afterwards (which a fix in yabridge 3.7.0 previously
|
silence and hang afterwards (which a fix in yabridge 3.7.0 previously
|
||||||
addressed).
|
addressed).
|
||||||
|
|
||||||
|
### yabridgectl
|
||||||
|
|
||||||
|
- `yabridgectl status` no longer mentions anything about installation methods if
|
||||||
|
you're using the normal, copy-based installation method. This is a follow-up
|
||||||
|
to the changes made in yabridgectl 3.8.0.
|
||||||
|
|
||||||
## [3.8.0] - 2022-01-15
|
## [3.8.0] - 2022-01-15
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ pub fn show_status(config: &Config) -> Result<()> {
|
|||||||
.unwrap_or_else(|| "<not found>".red().to_string())
|
.unwrap_or_else(|| "<not found>".red().to_string())
|
||||||
);
|
);
|
||||||
println!(
|
println!(
|
||||||
"yabridge-host-32.exe: {}\n",
|
"yabridge-host-32.exe: {}",
|
||||||
files
|
files
|
||||||
.yabridge_host_32_exe
|
.yabridge_host_32_exe
|
||||||
.as_ref()
|
.as_ref()
|
||||||
@@ -134,10 +134,15 @@ pub fn show_status(config: &Config) -> Result<()> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
Err(err) => {
|
Err(err) => {
|
||||||
println!("Could not find yabridge's files: {}\n", err);
|
println!("Could not find yabridge's files: {}", err);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
println!("installation method: {}", config.method);
|
|
||||||
|
// Since the symlink-based installation method is deprecated, don't even mention installation
|
||||||
|
// methods if it's currently set to copies
|
||||||
|
if config.method != InstallationMethod::Copy {
|
||||||
|
println!("\ninstallation method: {}", config.method)
|
||||||
|
}
|
||||||
|
|
||||||
for (path, search_results) in results {
|
for (path, search_results) in results {
|
||||||
// Always print these paths with trailing slashes for consistency's sake because paths can
|
// Always print these paths with trailing slashes for consistency's sake because paths can
|
||||||
|
|||||||
Reference in New Issue
Block a user