From 85b148f46348d078d99b3adcb122b74e26108961 Mon Sep 17 00:00:00 2001 From: TheWhiteDog9487 Date: Wed, 3 Dec 2025 21:52:17 +0800 Subject: [PATCH] =?UTF-8?q?WSL=E4=B9=9F=E9=9C=80=E8=A6=81=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E8=AF=AD=E8=A8=80=E5=8C=85=EF=BC=8C=E4=B8=8D=E7=84=B6?= =?UTF-8?q?=E5=83=8Fnano=E8=BF=99=E6=A0=B7=E7=9A=84=E8=BF=98=E6=98=AF?= =?UTF-8?q?=E6=B2=A1=E4=B8=AD=E6=96=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- language.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/language.cpp b/language.cpp index 1f4a7d7..71d7936 100644 --- a/language.cpp +++ b/language.cpp @@ -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;