From c52ef7921253dee65b7bfd1c42c10557aac3567e Mon Sep 17 00:00:00 2001 From: Alex <48759429+Aurumaker72@users.noreply.github.com> Date: Tue, 3 Oct 2023 11:11:42 +0200 Subject: [PATCH] Fix default plugin path --- main/Plugin.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main/Plugin.cpp b/main/Plugin.cpp index 124668d4..ce3d5bf9 100644 --- a/main/Plugin.cpp +++ b/main/Plugin.cpp @@ -652,9 +652,11 @@ void plugin_about(t_plugin* plugin) std::string get_plugins_directory() { - return Config.is_default_plugins_directory_used - ? std::string("plugins\\") - : Config.plugins_directory; + if (Config.is_default_plugins_directory_used) + { + return app_path + "plugin\\"; + } + return Config.plugins_directory; }