Skip to content

Commit 49b0c25

Browse files
authored
Update README.md (#481)
1 parent 10cb072 commit 49b0c25

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed
Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
11
## 运行harmony_use_pushy项目步骤
22

3-
### 1. 在项目根目录执行下面命令安装第三方依赖。
3+
### 1. 先在react-native-update根目录执行下面命令同步C++模块。
4+
```
5+
yarn submodule
6+
```
7+
8+
### 2. 在项目根目录执行下面命令安装第三方依赖。
49
```
510
yarn install
611
```
712

8-
### 2. 在项目根目录执行下面命令生成bundle包文件。
13+
### 3. 在项目根目录执行下面命令生成bundle包文件。
914
```
1015
yarn build
1116
```
1217
说明:这个命令会在harmony/entry/src/main/resources/rawfile目录生成Hbundle.harmony.js和assets文件,同时会基于该内容在.pushy/output目录生成ppk包。
1318

1419
**注意⚠️**:在使用pushy bundle --platform harmony命令进行打包的默认bundle包名是Hbundle.harmony.js,不要随意修改包名,因为diff是匹配该包名进行生成的。
1520

16-
### 3. 使用DevEco Studio IDE打开harmony目录然后执行sync运行项目
21+
### 4. 使用DevEco Studio IDE打开harmony目录然后执行sync运行项目
1722
![image](./sync.png)
1823

19-
### 4 运行效果图
20-
![image](./demo.png)
24+
### 5 运行效果图
25+
![image](./demo.png)

0 commit comments

Comments
 (0)