mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
Update
This commit is contained in:
@@ -62,13 +62,16 @@ namespace GameMain
|
||||
sizeMb = Mathf.Clamp(sizeMb, 0.1f, float.MaxValue);
|
||||
_totalSizeMb = sizeMb.ToString("f1");
|
||||
|
||||
#if false
|
||||
UILoadTip.ShowMessageBox($"Found update patch files, Total count {_totalDownloadCount} Total size {_totalSizeMb}MB", MessageShowType.TwoButton,
|
||||
LoadStyle.StyleEnum.Style_StartUpdate_Notice
|
||||
, StartDownFile, Application.Quit);
|
||||
#endif
|
||||
|
||||
RequestUpdateData().Forget();
|
||||
if (SettingsUtils. EnableUpdateData())
|
||||
{
|
||||
UILoadTip.ShowMessageBox($"Found update patch files, Total count {_totalDownloadCount} Total size {_totalSizeMb}MB", MessageShowType.TwoButton,
|
||||
LoadStyle.StyleEnum.Style_StartUpdate_Notice
|
||||
, StartDownFile, Application.Quit);
|
||||
}
|
||||
else
|
||||
{
|
||||
RequestUpdateData().Forget();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user