mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 12:30:12 +02:00
Show notification when plugin host fails to start
This one's a bit generic since the relevant output from the Wine process will have already been printed to the logger before this point.
This commit is contained in:
@@ -310,6 +310,16 @@ class PluginBridge {
|
||||
generic_logger.log(
|
||||
"The Wine host process has exited unexpectedly. Check "
|
||||
"the output above for more information.");
|
||||
|
||||
// Also show a desktop notification so users running from
|
||||
// the GUI get a heads up
|
||||
send_notification(
|
||||
"Failed to start the Wine plugin host",
|
||||
"Check yabridge's output for more information on what "
|
||||
"went wrong. You may need to rerun your DAW from a "
|
||||
"terminal and restart the plugin scanning process to "
|
||||
"see the error.");
|
||||
|
||||
std::terminate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user