[yabridgectl] Check for libdbus-1.so

Instead of checking for notify-send.
This commit is contained in:
Robbert van der Helm
2022-10-28 19:44:19 +02:00
parent af0f38c00b
commit b9bf67754d
4 changed files with 24 additions and 10 deletions
+3 -2
View File
@@ -833,8 +833,9 @@ pub fn do_sync(config: &mut Config, options: &SyncOptions) -> Result<()> {
// This check is only performed once per combination of Wine and yabridge versions
verify_wine_setup(config)?;
// Yabridge uses notify-send to relay important information when something's very wrong, so
// we'll check whether this is installed
// Yabridge uses D-Bus notifications to relay important information when something's very wrong,
// so we'll check whether `libdbus-1.so` is available (even though it would be very odd if it
// isn't)
verify_external_dependencies()?;
Ok(())