Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ssrlive committed Mar 17, 2024
1 parent 54757d2 commit 39a1b4b
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.2.13"
edition = "2021"
license = "MIT"
description = "A simple proxy tunnel, minimalist tool for bypassing the GFW."
repository = "https://github.com/ShadowsocksR-Live/overtls"

[lib]
crate-type = ["staticlib", "cdylib", "lib"]
Expand Down
2 changes: 2 additions & 0 deletions build-apple.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ echo "Setting up the rust environment..."
rustup target add aarch64-apple-ios aarch64-apple-ios-sim x86_64-apple-ios x86_64-apple-darwin aarch64-apple-darwin
cargo install cbindgen

cargo update

echo "Building..."
cargo build --release --target x86_64-apple-darwin
cargo build --release --target aarch64-apple-darwin
Expand Down
13 changes: 13 additions & 0 deletions readme-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,27 @@ overtls 客戶端首先與 overtls 服務端建立 TLS 連接,然後 overtls
## 安裝
### 從 crates.io 安裝
如果你已經安裝了 [Rust](https://rustup.rs/),你可以直接安裝 overtls。
```bash
cargo install overtls
```
### 預編譯二進制文件
可直接從源代碼編譯,也可以從 [發布頁面](https://github.com/shadowsocksr-live/overtls/releases) 下載預編譯的二進制文件。
### 從源碼編譯
從源碼編譯,需要先安裝 [Rust](https://www.rust-lang.org/) 編程語言環境,然後執行以下命令編譯軟件。
```bash
git clone https://github.com/shadowsocksr-live/overtls.git
cd overtls
cargo build --release
sudo cp target/release/overtls /usr/local/bin/
```
### 服務端一鍵安裝腳本
Expand Down
12 changes: 12 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,28 @@ In summary, we need to prepare the following things
## Installation
### Install from crates.io
If you have installed the [Rust](https://rustup.rs/), you can install overtls directly.
```bash
cargo install overtls
```
### Pre-compiled binary file
Can be compiled directly from the source code, or you can download the pre-compiled binary file
from the [Release page](https://github.com/shadowsocksr-live/overtls/releases).
### Compile from source code
To compile from source code, you need to install the [Rust](https://www.rust-lang.org/)
programming language environment first, and then run the following commands to compile overtls.
```bash
git clone https://github.com/shadowsocksr-live/overtls.git
cd overtls
cargo build --release
sudo cp target/release/overtls /usr/local/bin/
```
## Server-side one-click installation script
Expand Down

0 comments on commit 39a1b4b

Please sign in to comment.