mirror of
https://github.com/audacity/linuxdeploy.git
synced 2026-02-04 12:41:47 -06:00
Search for plugins in current working directory
This commit is contained in:
parent
3674af54b2
commit
6b8b59ee77
@ -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<char> cwd(get_current_dir_name(), free);
|
||||
paths.emplace_back(cwd.get());
|
||||
|
||||
for (const auto& dir : paths) {
|
||||
if (!bf::is_directory(dir))
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user