• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  "module": {
17    "name": "entry",
18    "type": "entry",
19    "srcEntrance": "./ets/Application/AbilityStage.ts",
20    "description": "$string:entry_desc",
21    "mainElement": "MainAbility",
22    "deviceTypes": [],
23    "deliveryWithInstall": true,
24    "installationFree": false,
25    "pages": "$profile:main_pages",
26    "uiSyntax": "ets",
27    "appStartup": "$profile:startup_config",
28    "abilities": [
29      {
30        "name": "MainAbility",
31        "srcEntry": "./ets/MainAbility/MainAbility.ts",
32        "description": "$string:MainAbility_desc",
33        "icon": "$media:icon",
34        "label": "$string:MainAbility_label",
35        "visible": true,
36        "skills": [
37          {
38            "entities": [
39              "entity.system.home"
40            ],
41            "actions": [
42              "action.system.home"
43            ]
44          }
45        ],
46        "startWindowIcon": "$media:icon",
47        "startWindowBackground": "$color:start_window_background",
48      },
49      {
50        "name": "PageAbility100",
51        "srcEntry": "./ets/MainAbility/PageAbility100.ets",
52        "description": "$string:MainAbility_desc",
53        "icon": "$media:icon",
54        "label": "$string:MainAbility_label",
55        "startWindowIcon": "$media:icon",
56        "visible": true,
57        "startWindowBackground": "$color:start_window_background",
58      },
59      {
60        "name": "PageAbility102",
61        "srcEntry": "./ets/MainAbility/PageAbility102.ets",
62        "description": "$string:MainAbility_desc",
63        "icon": "$media:icon",
64        "label": "$string:MainAbility_label",
65        "startWindowIcon": "$media:icon",
66        "visible": true,
67        "startWindowBackground": "$color:start_window_background",
68      },
69      {
70        "name": "PageAbility103",
71        "srcEntry": "./ets/MainAbility/PageAbility103.ets",
72        "description": "$string:MainAbility_desc",
73        "icon": "$media:icon",
74        "label": "$string:MainAbility_label",
75        "startWindowIcon": "$media:icon",
76        "visible": true,
77        "startWindowBackground": "$color:start_window_background",
78      },
79      {
80        "name": "PageAbilityFeature",
81        "srcEntry": "./ets/MainAbility/PageAbilityfeature.ets",
82        "description": "$string:MainAbility_desc",
83        "icon": "$media:icon",
84        "label": "$string:MainAbility_label",
85        "startWindowIcon": "$media:icon",
86        "visible": true,
87        "startWindowBackground": "$color:start_window_background",
88      }
89    ],
90    "extensionAbilities": [
91      {
92        "name": "Sample_001",
93        "srcEntry": "./ets/startup/Sample_001.ets",
94        "description": "Sample_001",
95        "type": "embeddedUI",
96        "label": "$string:MainAbility_label",
97        "exported": true
98      },
99      {
100        "name": "Sample_002",
101        "srcEntry": "./ets/startup/Sample_002.ets",
102        "description": "Sample_002",
103        "type": "embeddedUI",
104        "label": "$string:MainAbility_label",
105        "exported": true
106      },
107      {
108        "name": "Sample_003",
109        "srcEntry": "./ets/startup/Sample_003.ets",
110        "description": "Sample_003",
111        "type": "embeddedUI",
112        "label": "$string:MainAbility_label",
113        "exported": true
114      },
115      {
116        "name": "Sample_100",
117        "srcEntry": "./ets/startup/Sample_100.ets",
118        "description": "Sample_100",
119        "type": "embeddedUI",
120        "label": "$string:MainAbility_label",
121        "exported": true
122      },
123      {
124        "name": "Sample_101",
125        "srcEntry": "./ets/startup/Sample_101.ets",
126        "description": "Sample_101",
127        "type": "embeddedUI",
128        "label": "$string:MainAbility_label",
129        "exported": true
130      },
131      {
132        "name": "Sample_102",
133        "srcEntry": "./ets/startup/Sample_102.ets",
134        "description": "Sample_102",
135        "type": "embeddedUI",
136        "label": "$string:MainAbility_label",
137        "exported": true
138      },
139      {
140        "name": "Sample_103",
141        "srcEntry": "./ets/startup/Sample_103.ets",
142        "description": "Sample_103",
143        "type": "embeddedUI",
144        "label": "$string:MainAbility_label",
145        "exported": true
146      },
147      {
148        "name": "StartupConfig",
149        "srcEntry": "./ets/startup/StartupConfig.ets",
150        "description": "StartupConfig",
151        "type": "embeddedUI",
152        "label": "$string:MainAbility_label",
153        "exported": true
154      }
155    ]
156  }
157}