1/* 2 * Copyright (C) 2024 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 "srcEntry": "./ets/application/EntryAbilityStage.ts", 22 "mainElement": "EntryAbility", 23 "deviceTypes": [], 24 "deliveryWithInstall": true, 25 "installationFree": false, 26 "pages": "$profile:main_pages", 27 "abilities": [ 28 { 29 "name": "EntryAbility", 30 "srcEntry": "./ets/entryability/EntryAbility.ets", 31 "description": "$string:EntryAbility_desc", 32 "icon": "$media:layered_image", 33 "label": "$string:EntryAbility_label", 34 "startWindowIcon": "$media:startIcon", 35 "startWindowBackground": "$color:start_window_background", 36 "exported": true, 37 "skills": [ 38 { 39 "entities": [ 40 "entity.system.home" 41 ], 42 "actions": [ 43 "action.system.home" 44 ] 45 } 46 ] 47 }, 48 { 49 "name": "EntryAbility1", 50 "srcEntry": "./ets/entryability1/EntryAbility1.ets", 51 "description": "$string:EntryAbility1_desc", 52 "icon": "$media:layered_image", 53 "label": "$string:EntryAbility1_label", 54 "startWindowIcon": "$media:startIcon", 55 "startWindowBackground": "$color:start_window_background", 56 "exported": true, 57 "skills": [ 58 { 59 "entities": [ 60 "entity.system.home" 61 ], 62 "actions": [ 63 "action.system.home" 64 ] 65 } 66 ] 67 }, 68 { 69 "name": "EntryAbility2", 70 "srcEntry": "./ets/entryability2/EntryAbility2.ets", 71 "description": "$string:EntryAbility2_desc", 72 "icon": "$media:layered_image", 73 "label": "$string:EntryAbility2_label", 74 "startWindowIcon": "$media:startIcon", 75 "startWindowBackground": "$color:start_window_background", 76 "exported": true, 77 "skills": [ 78 { 79 "entities": [ 80 "entity.system.home" 81 ], 82 "actions": [ 83 "action.system.home" 84 ] 85 } 86 ] 87 }, 88 { 89 "name": "EntryAbility3", 90 "srcEntry": "./ets/entryability3/EntryAbility3.ets", 91 "description": "$string:EntryAbility3_desc", 92 "icon": "$media:layered_image", 93 "label": "$string:EntryAbility3_label", 94 "startWindowIcon": "$media:startIcon", 95 "startWindowBackground": "$color:start_window_background", 96 "exported": true, 97 "skills": [ 98 { 99 "entities": [ 100 "entity.system.home" 101 ], 102 "actions": [ 103 "action.system.home" 104 ] 105 } 106 ] 107 }, 108 { 109 "name": "EntryAbility4", 110 "srcEntry": "./ets/entryability4/EntryAbility4.ets", 111 "description": "$string:EntryAbility4_desc", 112 "icon": "$media:layered_image", 113 "label": "$string:EntryAbility4_label", 114 "startWindowIcon": "$media:startIcon", 115 "startWindowBackground": "$color:start_window_background", 116 "exported": true, 117 "skills": [ 118 { 119 "entities": [ 120 "entity.system.home" 121 ], 122 "actions": [ 123 "action.system.home" 124 ] 125 } 126 ] 127 }, 128 { 129 "name": "EntryAbility5", 130 "srcEntry": "./ets/entryability5/EntryAbility5.ets", 131 "description": "$string:EntryAbility5_desc", 132 "icon": "$media:layered_image", 133 "label": "$string:EntryAbility5_label", 134 "startWindowIcon": "$media:startIcon", 135 "startWindowBackground": "$color:start_window_background", 136 "exported": true, 137 "skills": [ 138 { 139 "entities": [ 140 "entity.system.home" 141 ], 142 "actions": [ 143 "action.system.home" 144 ] 145 } 146 ] 147 } 148 ], 149 "extensionAbilities": [ 150 { 151 "name": "EntryBackupAbility", 152 "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets", 153 "type": "backup", 154 "exported": false, 155 "metadata": [ 156 { 157 "name": "ohos.extension.backup", 158 "resource": "$profile:backup_config" 159 } 160 ] 161 } 162 ] 163 } 164}