docs: 添加项目路径相关说明

This commit is contained in:
Del Wang
2025-05-27 20:31:59 +08:00
parent ba828b782d
commit e3609fc888
4 changed files with 24 additions and 0 deletions
+6
View File
@@ -18,6 +18,12 @@
> 请先确认你已经将小爱音箱刷机成功,并安装运行了 Rust 补丁程序 [👉 教程](../../packages/client-rust/README.md),否则该项目启动后收不到音频输入,将无法正常工作。 > 请先确认你已经将小爱音箱刷机成功,并安装运行了 Rust 补丁程序 [👉 教程](../../packages/client-rust/README.md),否则该项目启动后收不到音频输入,将无法正常工作。
```bash ```bash
# 克隆代码
git clone https://github.com/idootop/open-xiaoai.git
# 进入当前项目根目录
cd examples/gemini
# 安装 Python 依赖 # 安装 Python 依赖
uv sync --locked uv sync --locked
+6
View File
@@ -86,6 +86,12 @@ docker run -it --rm --env-file $(pwd)/.env -v $(pwd)/assets:/app/assets -v $(pwd
- Node.js 22.x: https://nodejs.org/zh-cn/download - Node.js 22.x: https://nodejs.org/zh-cn/download
```bash ```bash
# 克隆代码
git clone https://github.com/idootop/open-xiaoai.git
# 进入当前项目根目录
cd packages/client-patch
# 安装依赖 # 安装依赖
npm install npm install
+6
View File
@@ -48,6 +48,12 @@ reboot
为了构建能够在小爱音箱上运行的 ARMv7 应用,你还需要安装 `cross` 👉 [传送门](https://github.com/cross-rs/cross) 为了构建能够在小爱音箱上运行的 ARMv7 应用,你还需要安装 `cross` 👉 [传送门](https://github.com/cross-rs/cross)
```shell ```shell
# 克隆代码
git clone https://github.com/idootop/open-xiaoai.git
# 进入当前项目根目录
cd packages/client-rust
# 交叉编译 # 交叉编译
cross build --release --target armv7-unknown-linux-gnueabihf cross build --release --target armv7-unknown-linux-gnueabihf
``` ```
+6
View File
@@ -20,6 +20,12 @@ brew install libusb-compat
## 使用方法 ## 使用方法
```shell ```shell
# 克隆代码
git clone https://github.com/idootop/open-xiaoai.git
# 进入当前项目根目录
cd packages/flash-tool
# 授予可运行权限 # 授予可运行权限
chmod +x ./flash chmod +x ./flash