NOISSUE read local libraries only from the local location
This removes the fallback to global `libraries` folder for `local` libraries.
This commit is contained in:
parent
8a7f1e405f
commit
17e09a292d
@ -18,13 +18,7 @@ void Library::getApplicableFiles(OpSys system, QStringList& jar, QStringList& na
|
||||
if(local && !overridePath.isEmpty())
|
||||
{
|
||||
QString fileName = out.fileName();
|
||||
auto fullPath = FS::PathCombine(overridePath, fileName);
|
||||
qDebug() << fullPath;
|
||||
QFileInfo fileinfo(fullPath);
|
||||
if(fileinfo.exists())
|
||||
{
|
||||
return fileinfo.absoluteFilePath();
|
||||
}
|
||||
return QFileInfo(FS::PathCombine(overridePath, fileName)).absoluteFilePath();
|
||||
}
|
||||
return out.absoluteFilePath();
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user