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