Fix path to executable in ComputeExternalUpdater

This commit is contained in:
Ilya Fedin 2021-03-21 01:45:57 +04:00 committed by John Preston
parent 9f6f7f7c9b
commit a16b7fbb83
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void ComputeExternalUpdater() {
while (!fileStream.atEnd()) {
const auto path = fileStream.readLine();
if (path == (cWorkingDir() + cExeName())) {
if (path == (cExeDir() + cExeName())) {
SetUpdaterDisabledAtStartup();
return;
}