Skip to content

Islatri/tauri-ohos-test

Repository files navigation

Tauri prototype for OpenHarmony/HarmonyNext

Image

Setup

  1. Install tauri-cli and ohrs from git.
cargo install tauri-cli --git https://github.com/tauri-apps/tauri --branch feat/open-harmony

cargo install ohrs
  1. Clone the repo
git clone https://github.com/islatri/tauri-ohos-test.git
  1. Install the dependencies.
npm i

cd src-tauri && cargo fetch

Build and run

Build with tauri-cli.

cd src-tauri && cargo tauri ohos build

Note

  1. libentry.so is a template library and you can ignore it.
  2. RustAbility will forward lifecycle automatically.
  3. The frontend API test board currently covers runtime(core), app, path, filesystem, event, webview, and window/monitor APIs.