2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

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

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;
}