diff --git a/README.en.md b/README.en.md index 3e8173f75bc64ed61ef519c87e83fe2a263549de..945698a80ff60fec5bb70a983fe5db065d928a01 100644 --- a/README.en.md +++ b/README.en.md @@ -25,6 +25,23 @@ ├── LICENSE # License files └── figures # Architecture figures ``` + +## Building the Unified Authentication Widget + +In the root directory of the OpenHarmony source code, run the following command to separately build the unified authentication widget component: + +``` +./build.sh --product-name rk3568 --ccache --build-target useriam_auth_widget +``` + +> NOTE +> +> --product-name indicates the product name, for example, rk3568. +> +> --ccache indicates the cache function used during the compilation. +> +> --build-target indicates the name of the component to build. + ## Usage ### Usage Guidelines diff --git a/README.md b/README.md index b368b6643e9e9fb55f31c6f01665978fd45c13b4..2ff67ac054fe3a211791ecdbbba85bcf5cdda20d 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,22 @@ └── figures # readme的截图 ``` +## 编译构建 + +在OpenHarmony源码根目录下,调用以下指令,单独编译统一身份认证控件部件。 + +``` +./build.sh --product-name rk3568 --ccache --build-target useriam_auth_widget +``` + +> 说明: +> +> --product-name:产品名称,例如rk3568。 +> +> --ccache:编译时使用缓存功能。 +> +> --build-target: 编译的部件名称。 + ## 说明 ### 使用说明 diff --git a/bundle.json b/bundle.json index 1073e71ed622f5b856b27ae691307d4c853250a5..dd8489f12ed117b2732b8114eb6844970a40e115 100644 --- a/bundle.json +++ b/bundle.json @@ -1,7 +1,7 @@ { - "name": "useriam_auth_widget_project", + "name": "@ohos/useriam_auth_widget", + "version": "4.0", "description": "User Authentication capability", - "version": "3.1", "license": "Apache License 2.0", "publishAs": "code-segment", "segment": { @@ -10,7 +10,7 @@ "dirs": {}, "scripts": {}, "component": { - "name": "auth_widget", + "name": "useriam_auth_widget", "subsystem": "useriam", "syscap": [ "SystemCapability.UserIAM.UserAuth.Core" diff --git a/figures/authwidget_architecture.png b/figures/authwidget_architecture.png index 7c2e59b2da50cc450f7dbede5467786cc1eb57fb..abba55bc8e84bc492418db2cd0e2b0911eb9ca8f 100644 Binary files a/figures/authwidget_architecture.png and b/figures/authwidget_architecture.png differ diff --git a/figures/authwidget_architecture_ZH.png b/figures/authwidget_architecture_ZH.png index 4c7b413f437d6ad4fd9ef52b8a69e547d8ab190a..b95e4a7318afe13f1580b60638214be90aa7f689 100644 Binary files a/figures/authwidget_architecture_ZH.png and b/figures/authwidget_architecture_ZH.png differ