fix(updater): check the app root dir for binary

Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers 2023-06-30 10:57:53 -07:00
parent a01a48793c
commit 6476023cf7
No known key found for this signature in database
GPG Key ID: E10E321EB160949B

View File

@ -1126,7 +1126,7 @@ bool Application::updaterEnabled()
#if defined(Q_OS_MAC)
return BuildConfig.UPDATER_ENABLED;
#else
return BuildConfig.UPDATER_ENABLED && QFileInfo(updaterBinaryName()).isFile();
return BuildConfig.UPDATER_ENABLED && QFileInfo(FS::PathCombine(applicationDirPath(), updaterBinaryName())).isFile();
#endif
}