1/* 2 * Copyright (C) 2025 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 "srcEntry": "./ets/myabilitystage/MyAbilityStage.ets", 21 "description": "$string:module_desc", 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 "launchType": "specified", 38 "skills": [ 39 { 40 "entities": [ 41 "entity.system.home" 42 ], 43 "actions": [ 44 "action.system.home" 45 ] 46 } 47 ] 48 }, 49 { 50 "name": "SingletonAbility", 51 "srcEntry": "./ets/singletonability/SingletonAbility.ets", 52 "description": "$string:SingletonAbility_desc", 53 "icon": "$media:layered_image", 54 "label": "$string:SingletonAbility_label", 55 "startWindowIcon": "$media:startIcon", 56 "startWindowBackground": "$color:start_window_background", 57 "isolationProcess": true, 58 "exported": true 59 }, 60 { 61 "name": "IsolationAbility", 62 "srcEntry": "./ets/isolationability/IsolationAbility.ets", 63 "description": "$string:IsolationAbility_desc", 64 "icon": "$media:layered_image", 65 "label": "$string:IsolationAbility_label", 66 "startWindowIcon": "$media:startIcon", 67 "startWindowBackground": "$color:start_window_background", 68 "isolationProcess": true, 69 "launchType": "specified", 70 "exported": true 71 }, 72 { 73 "name": "NoSpecifiedAbility", 74 "srcEntry": "./ets/nospecifiedability/NoSpecifiedAbility.ets", 75 "description": "$string:NoSpecifiedAbility_desc", 76 "icon": "$media:layered_image", 77 "label": "$string:NoSpecifiedAbility_label", 78 "startWindowIcon": "$media:startIcon", 79 "startWindowBackground": "$color:start_window_background", 80 "exported": true 81 } 82 ] 83 } 84}