2 Commits

Author SHA1 Message Date
TheWhiteDog9487 749efe4f69 修复22.04不工作的问题 2022-09-22 09:48:41 +08:00
TheWhiteDog9487 f8b56f1d0d 在Ubuntu 20.04 LTS上采用静态编译 2022-03-19 19:09:47 +08:00
2 changed files with 1 additions and 0 deletions
BIN
View File
Binary file not shown.
+1
View File
@@ -24,6 +24,7 @@ int main(){
system("mv /etc/default/locale /etc/default/locale.backup");
system("touch /etc/default/locale");
system("echo LANG=\"zh_CN.UTF-8\" > /etc/default/locale");
system("echo LANGUAGE=\"zh_CN:zh\" > /etc/default/locale");
cout << "原/etc/default/locale已经备份为/etc/default/locale.backup" << endl;
cout << "即将重启以应用语言设置,请保存您未完成的工作以防数据丢失" << endl;
cout << "输入y或者yes重启或者按Ctrl+C终止本程序" << endl;