diff --git a/src/plugin/plugin.cpp b/src/plugin/plugin.cpp index 8407528..0defbf9 100644 --- a/src/plugin/plugin.cpp +++ b/src/plugin/plugin.cpp @@ -53,6 +53,11 @@ namespace linuxdeploy { paths.insert(paths.begin(), appImageDir.string()); } + // also, look for plugins in current working directory + // could be useful in a "use linuxdeploy centrally, but download plugins into project directory" scenario + std::shared_ptr cwd(get_current_dir_name(), free); + paths.emplace_back(cwd.get()); + for (const auto& dir : paths) { if (!bf::is_directory(dir)) continue;