Fix installers for windows and linux.

This commit is contained in:
Adam Treat
2023-06-05 10:50:16 -04:00
parent 1d4c8e7091
commit 969ff0ee6b
3 changed files with 6 additions and 9 deletions

View File

@@ -26,6 +26,9 @@ LLM::LLM()
, m_compatHardware(true)
{
QString llmodelSearchPaths = QCoreApplication::applicationDirPath();
const QString libDir = QCoreApplication::applicationDirPath() + "/../lib/";
if (directoryExists(libDir))
llmodelSearchPaths += ";" + libDir;
#if defined(Q_OS_MAC)
const QString binDir = QCoreApplication::applicationDirPath() + "/../../../";
if (directoryExists(binDir))