feat: 游戏资源热更进度显示

#6666
This commit is contained in:
uye
2023-11-09 17:26:52 +08:00
parent 5fa3d8ab5c
commit b5fee2a67b
2 changed files with 57 additions and 2 deletions

View File

@@ -473,8 +473,7 @@ namespace MaaWpfGui.ViewModels.UI
{
Process.Start(UpdateUrl);
}
}
);
});
_ = Execute.OnUIThreadAsync(() =>
{
using var toast = new ToastNotification((otaFound ? LocalizationHelper.GetString("NewVersionFoundTitle") : LocalizationHelper.GetString("NewVersionFoundButNoPackageTitle")) + " : " + UpdateTag);