md文档更新

Signed-off-by: fangyunzhong <fangyunzhong2@huawei.com>
This commit is contained in:
fangyunzhong
2022-08-19 11:36:39 +08:00
parent ef0ff2f065
commit 4c5f14c675
2 changed files with 20 additions and 2 deletions
+10 -1
View File
@@ -38,8 +38,17 @@ resource tool command e.g:
-o output resource path
-r resource ID header file path
-p package name
-f if output path exists,force override it
-m module name, can add more, split by ','(like entry1,entry2,...)
-j config.json path
-e start id mask, e.g 0x01000000, in [0x01000000, 0x06FFFFFF),[0x08000000, 0x41FFFFFF)
`./restool -i main -o out -r out/ResourceTable.h -p ohos.demo`
```
entry Directory Structure
| |----resource
| |----config.json or module.json
```
`./restool -i entry1 -i entry2 -j xxx/module.json -p ohos.demo.xxx -o out -r out/ResourceTable.h `
## Related to the storehouse
+10 -1
View File
@@ -38,8 +38,17 @@ PC 上运行 `python test.py ./restool ./out`
-o 资源输出目录
-r 资源ID头文件
-p 应用包名
-f 如果输出目录中已经存在结果,强制覆盖
-m 编译多hap包,输入多个hap包的编译结果路径,例如:entry1,entry2,..
-j 编译多hap包+多har时,合并后config.json的文件路径
-e Id的开始标记
`./restool -i main -o out -r out/ResourceTable.h -p ohos.demo`
```
entry目录结构
| |----resource
| |----config.json 或者 module.json 都兼容
```
`./restool -i entry1 -i entry2 -j xxx/module.json -p ohos.demo.xxx -o out -r out/ResourceTable.h `
## 相关仓