From 674b3cd5eee66f4659c97747f0cedaa38562dd12 Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 19 Nov 2021 03:29:43 +0000 Subject: [PATCH 1/2] update zh-cn/device-dev/guide/device-clock-guide.md. Signed-off-by: Austin --- zh-cn/device-dev/guide/device-clock-guide.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/zh-cn/device-dev/guide/device-clock-guide.md b/zh-cn/device-dev/guide/device-clock-guide.md index a29494b1407..d42e3f024bf 100644 --- a/zh-cn/device-dev/guide/device-clock-guide.md +++ b/zh-cn/device-dev/guide/device-clock-guide.md @@ -272,11 +272,7 @@ 2. 启动cmd命令窗口,执行以下命令,推送hap应用包到设备目录下并安装。 ``` - hdc smode - hdc target mount - hdc file send clock.hap /data/clock.hap - hdc shell chmod 666 /data/clock.hap - hdc shell bm install -p /data/clock.hap + hdc install clock.hap ``` 3. 启动应用。执行以下命令,其中ohos.samples.clock为应用包名,MainAbility为应用启动的Ability。 -- Gitee From 8451492a4bc0c891087bfd76e310df343b44c7c1 Mon Sep 17 00:00:00 2001 From: Austin Date: Fri, 19 Nov 2021 03:32:34 +0000 Subject: [PATCH 2/2] update en/device-dev/guide/device-clock-guide.md. Signed-off-by: Austin --- en/device-dev/guide/device-clock-guide.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/en/device-dev/guide/device-clock-guide.md b/en/device-dev/guide/device-clock-guide.md index c9d006e9c4d..44f99359278 100644 --- a/en/device-dev/guide/device-clock-guide.md +++ b/en/device-dev/guide/device-clock-guide.md @@ -274,11 +274,7 @@ Before you install the app and run it on the development board, install the DevE 2. Open the **cmd** window, and run the following commands to push the HAP file to the device directory, and install it: ``` - hdc smode - hdc target mount - hdc file send clock.hap /data/clock.hap - hdc shell chmod 666 /data/clock.hap - hdc shell bm install -p /data/clock.hap + hdc install clock.hap ``` 3. Run the following command to start the app. **ohos.samples.clock** indicates the app package name, and **MainAbility** indicates the ability started by the app. -- Gitee