Skip to content

Commit

Permalink
v2.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed Apr 17, 2020
1 parent 1c6bd68 commit 0f25cc0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion N_m3u8DL-CLI/Global.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Global


/*===============================================================================*/
static string nowVer = "2.6.1";
static string nowVer = "2.6.2";
static string nowDate = "20200417";
public static void WriteInit()
{
Expand Down Expand Up @@ -685,6 +685,7 @@ public static ArrayList GetVideoInfo(string file)
p.StartInfo.RedirectStandardOutput = true; //由调用程序获取输出信息
p.StartInfo.RedirectStandardError = true; //重定向标准错误输出
p.StartInfo.CreateNoWindow = true; //不显示程序窗口
p.StartInfo.StandardErrorEncoding = Encoding.UTF8;
p.Start();//启动程序
p.StandardInput.AutoFlush = true;
//获取cmd窗口的输出信息
Expand Down
2 changes: 1 addition & 1 deletion N_m3u8DL-CLI/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ static void Main(string[] args)
{
SetConsoleCtrlHandler(cancelHandler, true);
ServicePointManager.ServerCertificateValidationCallback = ValidateServerCertificate;
Console.OutputEncoding = Encoding.UTF8;
Console.OutputEncoding = Encoding.GetEncoding("gbk");

try
{
Expand Down

0 comments on commit 0f25cc0

Please sign in to comment.