mirror of
https://github.com/TheWhiteDog9487/lag2cn.git
synced 2026-08-11 23:01:29 +08:00
WSL也需要安装语言包,不然像nano这样的还是没中文
This commit is contained in:
@@ -102,6 +102,7 @@ auto check() {
|
||||
|
||||
auto WSL(){
|
||||
cout << "开始更新语言配置" << endl;
|
||||
system("apt install -y language-pack-zh-hans");
|
||||
system("update-locale LANG=zh_CN.UTF-8");
|
||||
cout << "语言配置更新完成" << endl;
|
||||
cout << "更新语言配置需要重启WSL,要现在重启吗?" << endl;
|
||||
|
||||
Reference in New Issue
Block a user