mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-15 10:54:48 +00:00
fixed map resave after update
This commit is contained in:
parent
02657f4c6a
commit
677d94490f
@ -26,9 +26,8 @@ if [ ! -f "./../../tother/tsetup/tsetup.$AppVersionStr.exe" ]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
scp ./../Mac/Release/deploy/$AppVersionStr/tmacupd$AppVersion tupdates:tdesktop/static/tmac/
|
scp ./../Mac/Release/deploy/$AppVersionStr/tmacupd$AppVersion tmaster:tdesktop/www/tmac/
|
||||||
scp ./../Mac/Release/deploy/$AppVersionStr/tsetup.$AppVersionStr.dmg tupdates:tdesktop/static/tmac/
|
scp ./../Mac/Release/deploy/$AppVersionStr/tsetup.$AppVersionStr.dmg tmaster:tdesktop/www/tmac/
|
||||||
scp ./../../tother/tsetup/tupdate$AppVersion tupdates:tdesktop/static/tsetup/
|
scp ./../../tother/tsetup/tupdate$AppVersion tmaster:tdesktop/www/tsetup/
|
||||||
scp ./../../tother/tsetup/tportable.$AppVersionStr.zip tupdates:tdesktop/static/tsetup/
|
scp ./../../tother/tsetup/tportable.$AppVersionStr.zip tmaster:tdesktop/www/tsetup/
|
||||||
scp ./../../tother/tsetup/tsetup.$AppVersionStr.exe tupdates:tdesktop/static/tsetup/
|
scp ./../../tother/tsetup/tsetup.$AppVersionStr.exe tmaster:tdesktop/www/tsetup/
|
||||||
|
|
||||||
|
@ -635,10 +635,12 @@ namespace {
|
|||||||
_storageMap = storageMap;
|
_storageMap = storageMap;
|
||||||
_storageFilesSize = storageFilesSize;
|
_storageFilesSize = storageFilesSize;
|
||||||
_locationsKey = locationsKey;
|
_locationsKey = locationsKey;
|
||||||
_mapChanged = false;
|
|
||||||
_oldMapVersion = mapData.version;
|
_oldMapVersion = mapData.version;
|
||||||
if (_oldMapVersion < AppVersion) {
|
if (_oldMapVersion < AppVersion) {
|
||||||
|
_mapChanged = true;
|
||||||
_writeMap();
|
_writeMap();
|
||||||
|
} else {
|
||||||
|
_mapChanged = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_locationsKey) {
|
if (_locationsKey) {
|
||||||
|
Loading…
Reference in New Issue
Block a user