Skip to content

Commit

Permalink
Fix default plugin path
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurumaker72 committed Oct 3, 2023
1 parent 641df70 commit c52ef79
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions main/Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}


Expand Down

0 comments on commit c52ef79

Please sign in to comment.