From ac88c8fd950b453875c5546c39945f2df029356e Mon Sep 17 00:00:00 2001 From: nobbo Date: Wed, 21 Sep 2022 15:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=9E=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nobbo --- README_zh.md | 24 ++++++++++++------------ common/component/package.json | 28 ++++++++++++++-------------- common/resources/package.json | 24 ++++++++++++------------ common/utils/package.json | 26 +++++++++++++------------- product/phone/package.json | 30 +++++++++++++++--------------- product/tablet/package.json | 30 +++++++++++++++--------------- 6 files changed, 81 insertions(+), 81 deletions(-) diff --git a/README_zh.md b/README_zh.md index 1e377c4..6d620b3 100644 --- a/README_zh.md +++ b/README_zh.md @@ -1,10 +1,9 @@ # 备忘录源码开发说明 -## 简介 +## 1. 项目介绍 备忘录应用是OpenHarmony中预置的应用,为用户提供文本编辑以及保存功能。 -![](./figures/note.png) - -## 目录 +## 2. 工程结构 +### 目录结构 ``` /applications/standard/note ├─common @@ -44,10 +43,17 @@ │ └─res # 预置图片 └─resources # 资源文件 ``` +### 整体架构 -## 签名打包 + +![](./figures/note.png) + +## 3. 签名打包 ### 签名 +#### 签名文件的获取 +1. 生成签名文件可参考https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/quick-start/configuring-openharmony-app-signature.md + #### 签名文件的配置 打开项目工程,选择 File → Project Structure @@ -75,7 +81,7 @@ -## 安装、调试 +## 4. 安装、调试 ### 应用安装 @@ -132,9 +138,3 @@ hilog | grep 过滤信息 hilog | grep Label ``` -## 相关仓 - -系统应用 - -**applications_notes** - diff --git a/common/component/package.json b/common/component/package.json index 95679aa..a378052 100644 --- a/common/component/package.json +++ b/common/component/package.json @@ -1,17 +1,17 @@ { - "license": "ISC", - "types": "", - "devDependencies": {}, - "name": "@ohos/component", - "description": "a npm package which contains arkUI2.0 page", - "ohos": { - "org": "" + "license":"ISC", + "types":"", + "devDependencies":{}, + "name":"@ohos/component", + "description":"a npm package which contains arkUI2.0 page", + "ohos":{ + "org":"" }, - "main": "index.ets", - "repository": {}, - "version": "1.0.0", - "dependencies": { - "@ohos/utils": "file:../utils", - "@ohos/source": "file:../resources" + "main":"index.ets", + "repository":{}, + "version":"1.0.0", + "dependencies":{ + "@ohos/utils":"file:../utils", + "@ohos/source":"file:../resources" } -} +} \ No newline at end of file diff --git a/common/resources/package.json b/common/resources/package.json index 58e3ac4..e91259f 100644 --- a/common/resources/package.json +++ b/common/resources/package.json @@ -1,14 +1,14 @@ { - "license": "ISC", - "types": "", - "devDependencies": {}, - "name": "@ohos/resources", - "description": "a npm package which contains arkUI2.0 page", - "ohos": { - "org": "" + "license":"ISC", + "types":"", + "devDependencies":{}, + "name":"@ohos/resources", + "description":"a npm package which contains arkUI2.0 page", + "ohos":{ + "org":"" }, - "main": "index.ets", - "repository": {}, - "version": "1.0.0", - "dependencies": {} -} + "main":"index.ets", + "repository":{}, + "version":"1.0.0", + "dependencies":{} +} \ No newline at end of file diff --git a/common/utils/package.json b/common/utils/package.json index 6581745..acf594b 100644 --- a/common/utils/package.json +++ b/common/utils/package.json @@ -1,16 +1,16 @@ { - "license": "ISC", - "types": "", - "devDependencies": {}, - "name": "@ohos/utils", - "description": "a npm package which contains arkUI2.0 page", - "ohos": { - "org": "" + "license":"ISC", + "types":"", + "devDependencies":{}, + "name":"@ohos/utils", + "description":"a npm package which contains arkUI2.0 page", + "ohos":{ + "org":"" }, - "main": "index.ets", - "repository": {}, - "version": "1.0.0", - "dependencies": { - "@ohos/source": "file:../resources" + "main":"index.ets", + "repository":{}, + "version":"1.0.0", + "dependencies":{ + "@ohos/source":"file:../resources" } -} +} \ No newline at end of file diff --git a/product/phone/package.json b/product/phone/package.json index 4e725b2..e161814 100644 --- a/product/phone/package.json +++ b/product/phone/package.json @@ -1,18 +1,18 @@ { - "license": "ISC", - "devDependencies": {}, - "name": "phone", - "ohos": { - "org": "huawei", - "directoryLevel": "module", - "buildTool": "hvigor" + "license":"ISC", + "devDependencies":{}, + "name":"phone", + "ohos":{ + "org":"huawei", + "directoryLevel":"module", + "buildTool":"hvigor" }, - "description": "example description", - "repository": {}, - "version": "1.0.0", - "dependencies": { - "@ohos/utils": "file:../../common/utils", - "@ohos/component": "file:../../common/component", - "@ohos/source": "file:../../common/resources" + "description":"example description", + "repository":{}, + "version":"1.0.0", + "dependencies":{ + "@ohos/utils":"file:../../common/utils", + "@ohos/component":"file:../../common/component", + "@ohos/source":"file:../../common/resources" } -} +} \ No newline at end of file diff --git a/product/tablet/package.json b/product/tablet/package.json index a398728..4cfedc4 100644 --- a/product/tablet/package.json +++ b/product/tablet/package.json @@ -1,18 +1,18 @@ { - "license": "ISC", - "devDependencies": {}, - "name": "tablet", - "ohos": { - "org": "huawei", - "directoryLevel": "module", - "buildTool": "hvigor" + "license":"ISC", + "devDependencies":{}, + "name":"tablet", + "ohos":{ + "org":"huawei", + "directoryLevel":"module", + "buildTool":"hvigor" }, - "description": "example description", - "repository": {}, - "version": "1.0.0", - "dependencies": { - "@ohos/utils": "file:../../common/utils", - "@ohos/component": "file:../../common/component", - "@ohos/source": "file:../../common/resources" + "description":"example description", + "repository":{}, + "version":"1.0.0", + "dependencies":{ + "@ohos/utils":"file:../../common/utils", + "@ohos/component":"file:../../common/component", + "@ohos/source":"file:../../common/resources" } -} +} \ No newline at end of file