Fix path to executable in ComputeExternalUpdater
This commit is contained in:
parent
9f6f7f7c9b
commit
a16b7fbb83
|
@ -108,7 +108,7 @@ void ComputeExternalUpdater() {
|
||||||
while (!fileStream.atEnd()) {
|
while (!fileStream.atEnd()) {
|
||||||
const auto path = fileStream.readLine();
|
const auto path = fileStream.readLine();
|
||||||
|
|
||||||
if (path == (cWorkingDir() + cExeName())) {
|
if (path == (cExeDir() + cExeName())) {
|
||||||
SetUpdaterDisabledAtStartup();
|
SetUpdaterDisabledAtStartup();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue