Skip to content

Commit

Permalink
修复跨平台无法获取Console.Title问题
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Sep 6, 2023
1 parent 8de1189 commit 0391679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BBDown/BBDownUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static async Task CheckUpdateAsync()
if (nowVer != latestVer && !latestVer.StartsWith("https"))
{
Console.Title = $"发现新版本:{latestVer}";
LogColor(Console.Title);
LogColor($"发现新版本:{latestVer}");
}
}
catch (Exception)
Expand Down

0 comments on commit 0391679

Please sign in to comment.