docs: add OHOS SDK download link and default install paths

This commit is contained in:
YSTYLE-L.X.Y 2026-05-20 15:37:49 +08:00
parent 1bc06a2b94
commit 5b1e7565b3

View file

@ -24,7 +24,12 @@ make a contribution.
## Cross-compiling for OpenHarmony
GitUI can be built for OpenHarmony (target `aarch64-unknown-linux-ohos`). This requires the [OpenHarmony SDK](https://www.openharmony.cn/) native toolchain.
GitUI can be built for OpenHarmony (target `aarch64-unknown-linux-ohos`). This requires the OpenHarmony SDK native toolchain.
Download the SDK command-line tools from [HarmonyOS Developer](https://developer.huawei.com/consumer/cn/download/command-line-tools-for-hmos). After installation, the default SDK path is typically:
- Linux: `~/command-line-tools/sdk/default/openharmony`
- macOS: `~/Library/command-line-tools/sdk/default/openharmony`
First, install the `aarch64-unknown-linux-ohos` Rust target: