Skip to content

Commit

Permalink
[1.0.8.8]修复了一个可能在更新cookies时导致程序异常退出的错误。
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoChen98 committed Jul 5, 2019
1 parent 6895d31 commit 29038ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions BiliUPDesktopTool/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.7.7")]
[assembly: AssemblyFileVersion("1.0.7.7")]
[assembly: AssemblyVersion("1.0.8.8")]
[assembly: AssemblyFileVersion("1.0.8.8")]
[assembly: Guid("B31C3B29-E506-4603-9F46-CF7106B77116")]
5 changes: 2 additions & 3 deletions BiliUPDesktopTool/Setting/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,8 @@ public string Cookies
{
System.Windows.Application.Current?.Dispatcher.Invoke(() =>
{
if (Bas.LoginWindow == null || !Bas.LoginWindow.IsVisible)
Bas.LoginWindow = new LoginWindow();
Bas.LoginWindow.ShowDialog();
if (Bas.LoginWindow == null) Bas.LoginWindow = new LoginWindow();
if (!Bas.LoginWindow.IsVisible) Bas.LoginWindow.ShowDialog();
});
}
return ST.Cookies;
Expand Down

0 comments on commit 29038ad

Please sign in to comment.