Add a note on case sensitive extension matching

This commit is contained in:
Robbert van der Helm
2022-04-14 23:44:30 +02:00
parent b2a15620f3
commit 4e99afd53d
+5
View File
@@ -132,6 +132,11 @@ std::string PluginInfo::wine_version() const {
fs::path find_plugin_library(const fs::path& this_plugin_path,
PluginType plugin_type,
bool prefer_32bit_vst3) {
// TODO: We only consider lower case extensions, and yabridgectl also
// explicitly ignores upper and mixed case versions. Doing a case
// insensitive version of this would involve checking each entry in
// the directory listing. That's possible, but not something we're
// doing right now.
switch (plugin_type) {
case PluginType::vst2: {
fs::path plugin_path(this_plugin_path);