diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e468f8d..6f25db8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +### Fixed + +- Fixed rare plugin location detection issue related to the plugin and host + detection fix in yabridge 1.2.0. + ### yabridgectl - Added a check to `yabridgectl sync` to verify that the currently installed diff --git a/src/plugin/utils.cpp b/src/plugin/utils.cpp index e1d50a03..a2f5b931 100644 --- a/src/plugin/utils.cpp +++ b/src/plugin/utils.cpp @@ -138,8 +138,7 @@ fs::path find_vst_host(PluginArchitecture plugin_arch, bool use_plugin_groups) { } fs::path find_vst_plugin() { - const fs::path this_plugin_path = - "/" / fs::path("/" + get_this_file_location().string()); + const fs::path this_plugin_path = get_this_file_location(); fs::path plugin_path(this_plugin_path); plugin_path.replace_extension(".dll");