Fix the name of the updates tool.

This commit is contained in:
Adam Treat 2023-04-11 12:16:04 -04:00
parent 23e6c51091
commit 72b964e064

View File

@ -172,11 +172,11 @@ QString LLM::modelName() const
bool LLM::checkForUpdates() const bool LLM::checkForUpdates() const
{ {
#if defined(Q_OS_LINUX) #if defined(Q_OS_LINUX)
QString tool("MaintenanceTool"); QString tool("maintenancetool");
#elif defined(Q_OS_WINDOWS) #elif defined(Q_OS_WINDOWS)
QString tool("MaintenanceTool.exe"); QString tool("maintenancetool.exe");
#elif defined(Q_OS_DARWIN) #elif defined(Q_OS_DARWIN)
QString tool("MaintenanceTool.app/Contents/MacOS/MaintenanceTool"); QString tool("maintenancetool.app/Contents/MacOS/maintenancetool");
#endif #endif
QString fileName = QCoreApplication::applicationDirPath() QString fileName = QCoreApplication::applicationDirPath()