处理某些情况下设置鼠标异常问题

This commit is contained in:
nilaoda 2022-08-26 20:17:24 +08:00
parent 30f4b66469
commit 5f179e4694
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace N_m3u8DL_RE
{ {
static async Task Main(string[] args) static async Task Main(string[] args)
{ {
Console.CursorVisible = true; try { Console.CursorVisible = true; } catch { }
string loc = "en-US"; string loc = "en-US";
string currLoc = Thread.CurrentThread.CurrentUICulture.Name; string currLoc = Thread.CurrentThread.CurrentUICulture.Name;
if (currLoc == "zh-CN" || currLoc == "zh-SG") loc = "zh-CN"; if (currLoc == "zh-CN" || currLoc == "zh-SG") loc = "zh-CN";