docs: 添加项目路径相关说明
This commit is contained in:
@@ -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
|
||||
|
||||
```bash
|
||||
# 克隆代码
|
||||
git clone https://github.com/idootop/open-xiaoai.git
|
||||
|
||||
# 进入当前项目根目录
|
||||
cd packages/client-patch
|
||||
|
||||
# 安装依赖
|
||||
npm install
|
||||
|
||||
|
||||
@@ -48,6 +48,12 @@ reboot
|
||||
为了构建能够在小爱音箱上运行的 ARMv7 应用,你还需要安装 `cross` 👉 [传送门](https://github.com/cross-rs/cross)
|
||||
|
||||
```shell
|
||||
# 克隆代码
|
||||
git clone https://github.com/idootop/open-xiaoai.git
|
||||
|
||||
# 进入当前项目根目录
|
||||
cd packages/client-rust
|
||||
|
||||
# 交叉编译
|
||||
cross build --release --target armv7-unknown-linux-gnueabihf
|
||||
```
|
||||
|
||||
@@ -20,6 +20,12 @@ brew install libusb-compat
|
||||
## 使用方法
|
||||
|
||||
```shell
|
||||
# 克隆代码
|
||||
git clone https://github.com/idootop/open-xiaoai.git
|
||||
|
||||
# 进入当前项目根目录
|
||||
cd packages/flash-tool
|
||||
|
||||
# 授予可运行权限
|
||||
chmod +x ./flash
|
||||
|
||||
|
||||
Reference in New Issue
Block a user