mirror of
http://bgp.hk.skcks.cn:10088/github.com/oneclickvirt/ecs
synced 2026-04-20 21:01:12 +08:00
Standardize language parameter format in README
Updated language parameter format to use '-l=en' consistently across various commands in the README.
This commit is contained in:
22
README.md
22
README.md
@@ -79,31 +79,31 @@ Shell version: [https://github.com/spiritLHLS/ecs/blob/main/README_EN.md](https:
|
|||||||
- **International users without acceleration:**
|
- **International users without acceleration:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export noninteractive=true && curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
|
export noninteractive=true && curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
- **International/domestic users with CDN acceleration:**
|
- **International/domestic users with CDN acceleration:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export noninteractive=true && curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
|
export noninteractive=true && curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Domestic users with CNB acceleration:**
|
- **Domestic users with CNB acceleration:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export noninteractive=true && export CN=true && curl -L https://cnb.cool/oneclickvirt/ecs/-/git/raw/main/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
|
export noninteractive=true && export CN=true && curl -L https://cnb.cool/oneclickvirt/ecs/-/git/raw/main/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
- **Short Link:**
|
- **Short Link:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export noninteractive=true && curl -L https://bash.spiritlhl.net/goecs -o goecs.sh && chmod +x goecs.sh && bash goecs.sh install && goecs
|
export noninteractive=true && curl -L https://bash.spiritlhl.net/goecs -o goecs.sh && chmod +x goecs.sh && bash goecs.sh install && goecs -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
OR
|
OR
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export noninteractive=true && curl -L https://ba.sh/JrVa -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs
|
export noninteractive=true && curl -L https://ba.sh/JrVa -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
**For more accurate testing, please follow the detailed instructions below to install and add non-essential dependencies**
|
**For more accurate testing, please follow the detailed instructions below to install and add non-essential dependencies**
|
||||||
@@ -173,7 +173,7 @@ The following commands control whether dependencies are installed, whether the p
|
|||||||
7. **Invoke the menu**
|
7. **Invoke the menu**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
goecs -l en
|
goecs -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@@ -286,13 +286,13 @@ Please ensure Docker is installed on your machine before executing the following
|
|||||||
Privileged mode + host network
|
Privileged mode + host network
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --rm --privileged --network host spiritlhl/goecs:latest -menu=false -l en
|
docker run --rm --privileged --network host spiritlhl/goecs:latest -menu=false -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
Unprivileged mode + non-host network
|
Unprivileged mode + non-host network
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --rm spiritlhl/goecs:latest -menu=false -l en
|
docker run --rm spiritlhl/goecs:latest -menu=false -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
Using Docker to execute tests will result in some hardware testing bias and virtualization architecture detection failure. Direct testing is recommended over Docker testing.
|
Using Docker to execute tests will result in some hardware testing bias and virtualization architecture detection failure. Direct testing is recommended over Docker testing.
|
||||||
@@ -304,13 +304,13 @@ Please ensure Docker is installed on your machine before executing the following
|
|||||||
Privileged mode + host network
|
Privileged mode + host network
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --rm --privileged --network host docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l en
|
docker run --rm --privileged --network host docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
Unprivileged mode + non-host network
|
Unprivileged mode + non-host network
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker run --rm docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l en
|
docker run --rm docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
</details>
|
</details>
|
||||||
@@ -343,7 +343,7 @@ go build -o goecs
|
|||||||
|
|
||||||
4. Run test
|
4. Run test
|
||||||
```bash
|
```bash
|
||||||
./goecs -menu=false -l en
|
./goecs -menu=false -l=en
|
||||||
```
|
```
|
||||||
|
|
||||||
Supported compilation parameters:
|
Supported compilation parameters:
|
||||||
|
|||||||
Reference in New Issue
Block a user