class-tools / Web-Class-Helper

A command line tool using with online class.
MIT License
22 stars 5 forks source link

关于 `config set Language` #108

Closed hjl2011 closed 1 year ago

hjl2011 commented 2 years ago

故障描述

config set Language zh-CN + save 后重启,有效。 config set Language en-US + save 后重启,无效。

细节信息

No response

程序版本

v2.1.1-alpha.5

操作系统版本

Windows 10.0.22621.755

其它信息

No response

是否自己修复故障

ren-yc commented 2 years ago

您原来的程序语言是什么?

hjl2011 commented 2 years ago

您原来的程序语言是什么?

@ren-yc 默认,en-US

ren-yc commented 2 years ago

您原来的程序语言是什么?

@ren-yc 默认,en-US

那么原来就是 en-US 设置 en-US 肯定看不到效果啊(?

hjl2011 commented 2 years ago

您原来的程序语言是什么?

默认,en-US

那么原来就是 en-US 设置 en-US 肯定看不到效果啊(?

但我是先 config set Language zh-CN,后 config set Language en-US 啊(

ren-yc commented 2 years ago

麻烦发一下具体的日志文件。

hjl2011 commented 2 years ago

麻烦发一下具体的日志文件。

刚刚试了下,貌似又好了(

hjl2011 commented 1 year ago

意 外 收 获

版本为 WCH_v2.1.1-beta.2_x64

ren-yc commented 1 year ago

@hjl2011 麻烦您提供具体的日志文件,以便分析。

(目前此问题无法复现)

hjl2011 commented 1 year ago
[21:55:34] [INFO]: Starting "Web Class Helper 2.1.1 Public Preview Build 2".
[21:55:34] [INFO]: Reading file "***\AppData\Local\WCH\settings.json".
[21:55:34] [ERROR]: Data in file "***\AppData\Local\WCH\settings.json" corrupted.
[21:55:34] [INFO]: Reading file "***\WCH_v2.1.1-beta.2_x64\resources\en-US\interactive.json".
[21:55:34] [INFO]: "CONSOLE" argument "STATUS" was set to "HIDE".
[21:55:35] [INFO]: "CONSOLE" argument "STATUS" was set to "SHOW".
[21:55:46] [INFO]: Input command array: "config", "set", "Language", "zh-CN".
[21:55:46] [INFO]: The value of settings key "set" has been changed to "zh-CN" (Type: "String").
[21:55:47] [INFO]: Writing file "***\AppData\Local\WCH\settings.json".
[21:55:47] [INFO]: Exiting "Web Class Helper 2.1.1 Public Preview Build 2".
[21:55:48] [INFO]: Starting "Web Class Helper 2.1.1 Public Preview Build 2".
[21:55:48] [INFO]: Reading file "***\AppData\Local\WCH\settings.json".
[21:55:48] [ERROR]: Data in file "***\AppData\Local\WCH\settings.json" corrupted.
[21:55:48] [INFO]: Reading file "***\WCH_v2.1.1-beta.2_x64\resources\en-US\interactive.json".
[21:55:48] [INFO]: "CONSOLE" argument "STATUS" was set to "HIDE".
[21:55:49] [INFO]: "CONSOLE" argument "STATUS" was set to "SHOW".
[21:55:55] [INFO]: Input command array: "exit".
[21:55:55] [INFO]: Writing file "***\AppData\Local\WCH\settings.json".
[21:55:55] [INFO]: Exiting "Web Class Helper 2.1.1 Public Preview Build 2".
[21:56:04] [INFO]: Input command array: "help".
[21:56:04] [INFO]: Reading file "***\WCH_v2.1.1-beta.2_x64\resources\en-US\help.json".
[21:56:06] [INFO]: Writing file "***\AppData\Local\WCH\settings.json".
[21:56:06] [INFO]: Exiting "Web Class Helper 2.1.1 Public Preview Build 2".
ren-yc commented 1 year ago

经查,此 Bug 仅在 Beta 2 版本中出现,当前 Alpha 7 已经修复。

hjl2011 commented 1 year ago

经查明,2.1.1-alpha.7 并没有修复此 bug。

(具体 bug 描述见 #113)