Add suggestion to rerun sync after startup failure

This commit is contained in:
Robbert van der Helm
2021-07-13 21:32:59 +02:00
parent a2b877b101
commit 3dfb17cf5e
2 changed files with 16 additions and 4 deletions
+8 -2
View File
@@ -16,6 +16,8 @@
#include "bridges/vst3.h"
using namespace std::literals::string_literals;
// FIXME: The VST3 SDK as of version 3.7.2 now includes multiple local functions
// called `InitModule` and `DeinitModule`: one in the new
// `public.sdk/source/main/initmodule.cpp`, and the existing ones in the
@@ -57,8 +59,12 @@ bool InitModule() {
// Also show a desktop notification most people likely won't see the
// above message
send_notification("Failed to initialize VST3 plugin", error.what(),
true);
send_notification(
"Failed to initialize VST3 plugin",
error.what() +
"\nIf you just updated yabridge, then you may need to rerun "
"'yabridgectl sync' first to update your plugins."s,
true);
return false;
}