1
0
mirror of https://gitcode.com/gh_mirrors/re/react-native-pushy.git synced 2025-09-16 10:21:37 +08:00
Code Issues Packages Projects Releases Wiki Activity GitHub Gitee
Files
波仔糕 97848e7b13 support to harmony local debug mode (#493)
* support to Expo

* update

* update

* update

* support to harmony local debug

* udpate

* update

---------

Co-authored-by: Steven <steven@Stevens-MacBook-Pro.local>
2025-04-12 19:20:49 +08:00

27 lines
824 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 运行harmony_use_pushy项目步骤
### 1. 在项目根目录执行下面命令安装第三方依赖。
```
bun install
```
### 2. 本地debug 模式
```
bun run start
```
![image](./debug.png)
### 3. release 模式: 在项目根目录执行下面命令生成bundle包文件。
```
bun run build
```
说明这个命令会在harmony/entry/src/main/resources/rawfile目录生成Hbundle.harmony.js和assets文件同时会基于该内容在.pushy/output目录生成ppk包。
**注意⚠️**在使用pushy bundle --platform harmony命令进行打包的默认bundle包名是Hbundle.harmony.js不要随意修改包名因为diff是匹配该包名进行生成的。
### 4. 使用DevEco Studio IDE打开harmony目录然后执行sync运行项目
![image](./sync.png)
### 5 运行效果图
![image](./demo.png)