Name Date Size

..25-Oct-20244 KiB

.gitattributesH A D25-Oct-2024631

.gitee/H25-Oct-20244 KiB

AppScope/H25-Oct-20244 KiB

build-profile.json5H A D25-Oct-2024552

common/H25-Oct-20244 KiB

feature/ota/H25-Oct-20244 KiB

hvigorfile.jsH A D25-Oct-2024169

hvigorfile.tsH A D25-Oct-2024169

LICENSEH A D25-Oct-20249.9 KiB

OAT.xmlH A D25-Oct-20247.5 KiB

package-lock.jsonH A D25-Oct-202448 KiB

package.jsonH A D25-Oct-2024518

product/oh/base/H25-Oct-20244 KiB

README.mdH A D25-Oct-20241.4 KiB

README_zh.mdH A D25-Oct-20241.3 KiB

signature/H25-Oct-20244 KiB

README.md

1# Update App<a name="EN-US_TOPIC_0000001148414479"></a>
2
3-   [Introduction](#section182mcpsimp)
4-   [Directory Structure](#section190mcpsimp)
5-   [Description](#section198mcpsimp)
6-   [Repositories Involved](#section206mcpsimp)
7
8## Introduction<a name="section182mcpsimp"></a>
9
10The update app runs on the OHOS and provides an interactive GUI for users to perform version updates.
11
12It provides the following functions:
13
141. Check for available update packages and display the check result.
15
162. Download the update package and display the download progress.
17
183. Trigger an update.
19
204. Obtain the version information after a version update.
21
22## Directory Structure<a name="section190mcpsimp"></a>
23
24```
25base/update/app    # Update app code repository
26├── entry          # Access to the update app code
27│ └── src          # Update app code
28└── gradle         # Configuration files
29    └── wrapper    # Gradle configuration files
30```
31
32## Description<a name="section198mcpsimp"></a>
33
34The update app is implemented by using JavaScript, and the service logic is implemented by using C++. The JavaScript app interacts with the service logic through NAPI.
35
36For details about the NAPI implementation, see the following:
37
38base/update/updateservice/client
39
40## Repositories Involved<a name="section206mcpsimp"></a>
41
42Update subsystem
43
44**update\_app**
45
46[update\_updateservice](https://gitee.com/openharmony/update_updateservice)
47
48