From 49b0c25a3d5721a6e78ecf928256678e074b7d51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B3=A2=E4=BB=94=E7=B3=95?= Date: Tue, 4 Mar 2025 22:05:47 +0800 Subject: [PATCH] Update README.md (#481) --- Example/harmony_use_pushy/README.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Example/harmony_use_pushy/README.md b/Example/harmony_use_pushy/README.md index cf63189..63f2035 100644 --- a/Example/harmony_use_pushy/README.md +++ b/Example/harmony_use_pushy/README.md @@ -1,11 +1,16 @@ ## 运行harmony_use_pushy项目步骤 -### 1. 在项目根目录执行下面命令安装第三方依赖。 +### 1. 先在react-native-update根目录执行下面命令同步C++模块。 +``` +yarn submodule +``` + +### 2. 在项目根目录执行下面命令安装第三方依赖。 ``` yarn install ``` -### 2. 在项目根目录执行下面命令生成bundle包文件。 +### 3. 在项目根目录执行下面命令生成bundle包文件。 ``` yarn build ``` @@ -13,8 +18,8 @@ yarn build **注意⚠️**:在使用pushy bundle --platform harmony命令进行打包的默认bundle包名是Hbundle.harmony.js,不要随意修改包名,因为diff是匹配该包名进行生成的。 -### 3. 使用DevEco Studio IDE打开harmony目录然后执行sync运行项目 +### 4. 使用DevEco Studio IDE打开harmony目录然后执行sync运行项目 ![image](./sync.png) -### 4 运行效果图 -![image](./demo.png) \ No newline at end of file +### 5 运行效果图 +![image](./demo.png)