13
0

VST3: Ignore .vst3 dll in bundle of wrong architecture

This commit is contained in:
Robin Gareus 2021-08-24 21:57:41 +02:00
parent fee4292bde
commit 8c7f2c93f0
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -309,7 +309,7 @@ ARDOUR::module_path_vst3 (string const& path)
std::string p1 = Glib::path_get_dirname (path);
std::string p2 = Glib::path_get_dirname (p1);
std::string p3 = Glib::path_get_dirname (p2);
if ( Glib::path_get_basename (p1) == vst3_bindir ()
if ( (Glib::path_get_basename (p1) == "x86_64-win" || Glib::path_get_basename (p1) == "x86-win")
&& Glib::path_get_basename (p2) == "Contents"
&& Glib::path_get_basename (p3) == Glib::path_get_basename (path)
) {