mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Divide autoupdate paths for OS versions.
This commit is contained in:
@@ -42,4 +42,18 @@ QDate WhenSystemBecomesOutdated() {
|
||||
return QDate();
|
||||
}
|
||||
|
||||
int AutoUpdateVersion() {
|
||||
return 2;
|
||||
}
|
||||
|
||||
QString AutoUpdateKey() {
|
||||
if (IsLinux32Bit()) {
|
||||
return "linux32";
|
||||
} else if (IsLinux64Bit()) {
|
||||
return "linux";
|
||||
} else {
|
||||
Unexpected("Platform in AutoUpdateKey.");
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Platform
|
||||
|
Reference in New Issue
Block a user