• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2023-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    "srcEntry": "./ets/Application/AbilityStage.ets",
21    "description": "$string:entry_desc",
22    "mainElement": "EntryAbility",
23    "deviceTypes": [
24      "default",
25      "tablet"
26    ],
27    "deliveryWithInstall": true,
28    "installationFree": false,
29    "pages": "$profile:main_pages",
30    "metadata": [
31      {
32        "name": "ArkTSPartialUpdate",
33        "value": "true"
34      }
35    ],
36    "extensionAbilities": [
37      {
38        "srcEntry": "./ets/ServiceExtAbility/ServiceExtAbility.ets",
39        "name": "ServiceExtAbility",
40        "label": "$string:MainAbility_label",
41        "description": "$string:extension_ability_descripter",
42        "type": "inputMethod",
43        "exported": true
44      }
45    ],
46    "abilities": [
47      {
48        "name": "EntryAbility",
49        "srcEntry": "./ets/entryability/EntryAbility.ets",
50        "description": "$string:EntryAbility_desc",
51        "icon": "$media:icon",
52        "label": "$string:EntryAbility_label",
53        "startWindowIcon": "$media:startIcon",
54        "startWindowBackground": "$color:start_window_background",
55        "exported": true,
56        "skills": [
57          {
58            "entities": [
59              "entity.system.home"
60            ],
61            "actions": [
62              "action.system.home"
63            ]
64          }
65        ]
66      }
67    ]
68  }
69}