mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 08:05:12 +00:00
Fix path to executable in ComputeExternalUpdater
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user