mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-13 13:46:08 +00:00
Fix the check for updates on mac.
This commit is contained in:
parent
cbe007bb0d
commit
661191ce12
2
llm.cpp
2
llm.cpp
@ -179,7 +179,7 @@ bool LLM::checkForUpdates() const
|
|||||||
#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()
|
||||||
|
Loading…
Reference in New Issue
Block a user