新增加aarch64架构支持

This commit is contained in:
TheWhiteDog9487
2023-05-08 01:55:20 +00:00
parent 3038813cd5
commit 6839818577
2 changed files with 19 additions and 7 deletions
+14 -7
View File
@@ -1,10 +1,16 @@
# 一键切换Ubuntu(和Debian)系统到简体中文
## 测试通过的系统
### **x86_64**
|系统名称|版本|
|-|-|
|Debian|11.6.0|
|Ubuntu|22.04 LTS 20.04 LTS|
### **aarch64**
|系统名称|版本|
|-|-|
|Debian|11.5|
## 使用方法
确保已经安装wget或者有其他方法可以传输文件
```shell
@@ -12,16 +18,17 @@ apt update && apt install -y wget
```
下载程序
### **x86_64**
```shell
wget https://raw.githubusercontent.com/TheWhiteDog9487/ubuntu-language-onekey-zh_cn/main/language
```
运行程序
### **aarch64**
```shell
sudo chmod o+x language
sudo ./language
wget https://raw.githubusercontent.com/TheWhiteDog9487/ubuntu-language-onekey-zh_cn/main/language_arm
```
## 提示
这个程序现在只适配了Debian和Ubuntu的x86版本,ARM架构和采用这两个系统作为底板的下游分支可用性未知。
短时间内我无法适配ARM架构,我根本就没这个设备。
如果你需要,可以尝试修改源代码之后自行构建。
运行程序
```shell
sudo chmod u+x language
sudo ./language
```