From af7a5693defd7a986798f22dca3eb3420a1a3118 Mon Sep 17 00:00:00 2001 From: longwei Date: Sat, 9 Jul 2022 10:42:58 +0800 Subject: [PATCH] fix demo for module Signed-off-by: longwei Change-Id: I4709b821a93f6a66af31b606f1ed3e27de2ac584 --- .../quick-start/stage-structure.md | 44 ++----------------- 1 file changed, 4 insertions(+), 40 deletions(-) diff --git a/zh-cn/application-dev/quick-start/stage-structure.md b/zh-cn/application-dev/quick-start/stage-structure.md index 8737110a42..c0311b04ca 100644 --- a/zh-cn/application-dev/quick-start/stage-structure.md +++ b/zh-cn/application-dev/quick-start/stage-structure.md @@ -99,18 +99,6 @@ module.json示例: "resource": "$profile:config_file2" } ], - "metadata": [ - { - "name": "string", - "value": "string", - "resource": "$profile:config_file1" - }, - { - "name": "string", - "value": "string", - "resource": "$profile:config_file2" - } - ], "abilities": [ { "name": "MainAbility", @@ -143,38 +131,14 @@ module.json示例: ], "startWindowIcon": "$media:icon", "startWindowBackground": "$color:red" - } - ], - "abilities": [ + }, { - "name": "MainAbility", - "srcEntrance" : "./login/MyMainAbility.ts", - "description": "$string:description_main_ability", + "name": "sampleAbility", + "srcEntrance" : "./login/sampleAbility.ts", + "description": "$string:description_sample_ability", "icon": "$media:icon", "label": "HiMusic", "visible": true, - "skills": [ - { - "actions": [ - "action.system.home" - ], - "entities": [ - "entity.system.home" - ], - "uris": [ ] - } - ], - "backgroundModes": [ - "dataTransfer", - "audioPlayback", - "audioRecording", - "location", - "bluetoothInteraction", - "multiDeviceConnection", - "wifiInteraction", - "voip", - "taskKeeping" - ], "startWindowIcon": "$media:icon", "startWindowBackground": "$color:red" } -- GitLab