mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-21 11:24:02 +02:00
[yabridgectl] Improve the Wine check warning
This can also fail if you're using a version of yabridge that was compiled against more recent libraries.
This commit is contained in:
@@ -32,6 +32,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
|
|||||||
|
|
||||||
### yabridgectl
|
### yabridgectl
|
||||||
|
|
||||||
|
- Improved the warning yabridgectl shows when it cannot run `yabridge-host.exe`
|
||||||
|
as part of the post-installation checks.
|
||||||
- Fixed text wrapping being broken after a dependency update earlier this year.
|
- Fixed text wrapping being broken after a dependency update earlier this year.
|
||||||
|
|
||||||
## [3.2.0] - 2021-05-03
|
## [3.2.0] - 2021-05-03
|
||||||
|
|||||||
@@ -316,18 +316,23 @@ pub fn verify_wine_setup(config: &mut Config) -> Result<()> {
|
|||||||
eprintln!(
|
eprintln!(
|
||||||
"\n{}",
|
"\n{}",
|
||||||
wrap(&format!(
|
wrap(&format!(
|
||||||
"Warning: Could not run 'yabridge-host.exe'. Wine reported the following error: \n\
|
"Warning: Could not run '{yabridge_host}'. Wine reported the following error:\n\
|
||||||
\n\
|
\n\
|
||||||
{}\n\
|
{error}\n\
|
||||||
\n\
|
\n\
|
||||||
This can happen when using a version of Wine that is much older than the version \
|
Make sure that you have downloaded the correct version of yabridge for your distro.\n\
|
||||||
that has been used to compile yabridge with. Your current Wine version is '{}'. \
|
This can also happen when using a version of Wine that's not compatible with this \
|
||||||
See the troubleshooting section of the readme for more information on how to \
|
version of yabridge, in which case you'll need to upgrade Wine. Your current Wine \
|
||||||
upgrade your installation of Wine.\n\
|
version is '{wine_version}'. \
|
||||||
|
See the link below for instructions on how to upgrade your installation of Wine.\n\
|
||||||
|
Finally, if the default Wine prefix over at {wine_prefix} is set to 32-bit only, \
|
||||||
|
this check will also fail as the 64-bit {yabridge_host} won't be able to run.
|
||||||
\n\
|
\n\
|
||||||
https://github.com/robbert-vdh/yabridge#troubleshooting-common-issues",
|
https://github.com/robbert-vdh/yabridge#troubleshooting-common-issues",
|
||||||
last_error.unwrap_or("<no_output>").bright_white(),
|
yabridge_host = "yabridge-host.exe".bright_white(),
|
||||||
wine_version
|
wine_prefix = "~/.wine".bright_white(),
|
||||||
|
error = last_error.unwrap_or("<no_output>").bright_white(),
|
||||||
|
wine_version = wine_version
|
||||||
.strip_prefix("wine-")
|
.strip_prefix("wine-")
|
||||||
.unwrap_or(&wine_version)
|
.unwrap_or(&wine_version)
|
||||||
.bright_white(),
|
.bright_white(),
|
||||||
|
|||||||
Reference in New Issue
Block a user