1/* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16{ 17 "module": { 18 "name": "entry", 19 "type": "entry", 20 "description": "$string:module_desc", 21 "srcEntrance": "./ets/app/MyAbilityStage.ets", 22 "mainElement": "EntryAbility", 23 "deviceTypes": [ 24 "default" 25 ], 26 "metadata": [ { 27 "name": "ArkTSPartialUpdate", 28 "value": "false" 29 } ], 30 "deliveryWithInstall": true, 31 "installationFree": false, 32 "pages": "$profile:main_pages", 33 "abilities": [ 34 { 35 "name": "EntryAbility", 36 "srcEntrance": "./ets/ability/EntryAbility.ets", 37 "description": "$string:EntryAbility_desc", 38 "icon": "$media:icon", 39 "label": "$string:EntryAbility_label", 40 "startWindowIcon": "$media:icon", 41 "startWindowBackground": "$color:start_window_background", 42 "visible": true, 43 "recoverable": true, 44 "skills": [ 45 { 46 "entities": [ 47 "entity.system.home" 48 ], 49 "actions": [ 50 "action.system.home" 51 ] 52 } 53 ] 54 }, 55 { 56 "name": "SecondAbility", 57 "srcEntrance": "./ets/ability/SecondAbility.ets", 58 "description": "$string:EntryAbility_desc", 59 "icon": "$media:icon", 60 "label": "$string:TextAbility_label", 61 "startWindowIcon": "$media:icon", 62 "startWindowBackground": "$color:start_window_background", 63 "visible": true, 64 "recoverable": true 65 }, 66 { 67 "name": "RecoveryAbility", 68 "srcEntrance": "./ets/ability/RecoveryAbility.ets", 69 "description": "$string:EntryAbility_desc", 70 "icon": "$media:icon", 71 "label": "$string:RecoveryAbility_label", 72 "startWindowIcon": "$media:icon", 73 "startWindowBackground": "$color:start_window_background", 74 "visible": true 75 } 76 ] 77 } 78}