更新README说明和CPP源文件,缺少一个空格我不能接受

This commit is contained in:
2022-01-24 15:09:44 +08:00
parent 39a0b17a59
commit c3e642bac5
2 changed files with 6 additions and 2 deletions
+5 -1
View File
@@ -1,4 +1,9 @@
# 一键切换Ubuntu系统到简体中文
# **注意!程序运行完之后会自动重启目标电脑/服务器,请确保没有未保存的工作!否则后果自负!**
## 这个程序有且仅在Ubuntu系统上测试过,18.04及以上应该都不会有问题,非Debian系列应该都用不了
***
## 两个版本
1.C++
2.纯Shell
@@ -7,7 +12,6 @@
不信你可以去看源代码,C++版本我只是用了system函数执行shell语句,效果不能说天差地别吧,至少也能说是一模一样
***
## 使用方法
# **注意!程序运行完之后会自动重启目标电脑/服务器,请确保没有未保存的工作!否则后果自负!**
确保已经安装wget或者有其他方法可以传输文件
```shell
apt update && apt install -y wget
+1 -1
View File
@@ -1,4 +1,4 @@
#include<cstdlib>
#include <cstdlib>
using namespace std;
int main(){
system("apt install -y language-pack-zh-hans");