module.json 2.0 KB
Newer Older
C
chengxingzhen 已提交
1 2 3 4 5 6 7 8
{
  "module": {
    "name": "entry",
    "type": "entry",
    "srcEntrance": "./ets/Application/AbilityStage.ts",
    "description": "$string:entry_desc",
    "mainElement": "MainAbility",
    "deviceTypes": [
S
add  
shilei 已提交
9
      "default",
C
chengxingzhen 已提交
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
      "phone"
    ],
    "deliveryWithInstall": true,
    "installationFree": false,
    "pages": "$profile:main_pages",
    "uiSyntax": "ets",
    "abilities": [
      {
        "name": "MainAbility",
        "srcEntrance": "./ets/MainAbility/MainAbility.ts",
        "description": "$string:MainAbility_desc",
        "icon": "$media:icon",
        "label": "$string:MainAbility_label",
        "visible": true,
        "skills": [
          {
            "entities": [
              "entity.system.home"
            ],
            "actions": [
              "action.system.home"
            ]
          }
        ]
      },
      {
        "name": "MainAbility2",
        "srcEntrance": "./ets/MainAbility2/MainAbility2.ts",
        "description": "$string:MainAbility2_desc",
        "icon": "$media:icon",
        "label": "$string:MainAbility2_label",
        "visible": true
      },
      {
        "name": "MainAbility3",
        "srcEntrance": "./ets/MainAbility3/MainAbility3.ts",
        "description": "$string:MainAbility3_desc",
        "icon": "$media:icon",
        "label": "$string:MainAbility3_label",
        "visible": true
      },
      {
        "name": "MainAbility4",
        "srcEntrance": "./ets/MainAbility4/MainAbility4.ts",
        "description": "$string:MainAbility4_desc",
        "icon": "$media:icon",
        "label": "$string:MainAbility4_label"
      },
      {
        "name": "MainAbility5",
        "srcEntrance": "./ets/MainAbility5/MainAbility5.ts",
        "description": "$string:MainAbility5_desc",
        "icon": "$media:icon",
        "label": "$string:MainAbility5_label"
      }
H
HuangXW 已提交
65 66 67 68 69 70
    ],
    "requestPermissions": [
      {
        "name":"ohos.permission.START_ABILITIES_FROM_BACKGROUND",
        "reason":"need use ohos.permission.START_ABILITIES_FROM_BACKGROUND"
      }
C
chengxingzhen 已提交
71 72
    ]
  }
X
ST  
xuchenghua09 已提交
73
}