From c83680a21a4b5c35bf2022fef384ee402c86deb6 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Tue, 21 Jul 2020 01:04:20 +0200 Subject: [PATCH] Remove old workaround for rare Ubuntu path issue This got fixed properly in `get_file_location()`, but this function still contained an old hack. --- CHANGELOG.md | 5 +++++ src/plugin/utils.cpp | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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");