Skip to content

Commit

Permalink
chore: update development guide [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Oct 12, 2024
1 parent f14404b commit ca9a8ab
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,13 @@ Your are now welcome to [contribution](CONTRIBUTING.md) ~ !

### Prepare

Android SDK and Android NDK should be correctly installed and configured. If you are new to Android development, please install Android Studio.
#### Requirements:

The needed version of JDK (OpenJDK) is 17 or 21.
- Android SDK and Android NDK
* If you are new to Android development, please install [Android Studio](https://developer.android.com/studio).

- JDK (OpenJDK) 17
- Python 3 (required by OpenCC to generate dictionary text files)

#### Prerequisites for Windows

Expand All @@ -77,6 +81,8 @@ If you cannot or wouldn't like to enable anything, it doesn't matter. Copying wi
```sh
git clone git@github.com:osfans/trime.git
git submodule update --init --recursive
# use partial clone to save time
git submodule update --init --recursive --filter=blob:none
```

#### 2. Debug version without signature:
Expand Down
10 changes: 8 additions & 2 deletions README_sc.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ TRIME 是 Tongwen RIME 或是 ThaeRvInputMEthod 的缩写:

### 准备

开发者应正确安装配置好 Android SDK 和 Android NDK。如果还不熟悉 Android 开发,建议安装 Android Studio,它会自动安装并配置 Android 开发环境。
#### 开发环境要求

对 JDK(OpenJDK)版本的要求是 17 或 21。
- Android SDK 和 Android NDK
- 如果还不熟悉 Android 开发,建议安装 [Android Studio](https://developer.android.google.cn/studio),它会自动安装并配置 Android 开发环境。

- JDK(OpenJDK)17
- Python 3 (用于给 OpenCC 生成词典文本文件)

#### Windows 上的前提条件

Expand All @@ -72,6 +76,8 @@ TRIME 是 Tongwen RIME 或是 ThaeRvInputMEthod 的缩写:
```sh
git clone git@github.com:osfans/trime.git
git submodule update --init --recursive
# 可以使用部分克隆节约时间
git submodule update --init --recursive --filter=blob:none
```

#### 2. 编译调试版本:
Expand Down
10 changes: 8 additions & 2 deletions README_tc.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ TRIME 是 Tongwen RIME 或是 ThaeRvInputMEthod 的縮寫:

### 準備

開發者應正確安裝配置好 Android SDK 和 Android NDK。如果還不熟悉 Android 開發,建議安裝 Android Studio,它會自動安裝並配置 Android 開發環境。
#### 開發環境要求

對 JDK(OpenJDK)版本的要求是 17 或 21。
- Android SDK 和 Android NDK
- 如果還不熟悉 Android 開發,建議安裝 [Android Studio](https://developer.android.com/studio),它會自動安裝並配置 Android 開發環境。

- JDK(OpenJDK)17
- Python 3 (用於給 OpenCC 生成詞典文字檔案)

#### Windows 上的前提條件

Expand All @@ -72,6 +76,8 @@ TRIME 是 Tongwen RIME 或是 ThaeRvInputMEthod 的縮寫:
```sh
git clone git@github.com:osfans/trime.git
git submodule update --init --recursive
# 可以使用部分克隆節省時間
git submodule update --init --recursive --filter=blob:none
```

#### 2. 編譯除錯版本:
Expand Down

0 comments on commit ca9a8ab

Please sign in to comment.