config.json 2.2 KB
Newer Older
K
kirl75 已提交
1 2 3 4 5
{
  "app": {
    "bundleName": "com.example.amsZipfileUnzipfileST",
    "vendor": "example",
    "version": {
K
kirl.liu 已提交
6 7 8 9 10 11 12
      "code": 1,
      "name": "1.0"
    },
    "apiVersion": {
      "compatible": 4,
      "target": 5,
      "releaseType": "Beta1"
K
kirl75 已提交
13 14 15 16 17 18 19
    }
  },
  "deviceConfig": {},
  "module": {
    "package": "com.example.amsZipfileUnzipfileST",
    "name": ".MyApplication",
    "deviceType": [
K
kirl.liu 已提交
20
      "phone"
K
kirl75 已提交
21 22 23 24
    ],
    "distro": {
      "deliveryWithInstall": true,
      "moduleName": "entry",
K
kirl.liu 已提交
25
      "moduleType": "entry"
K
kirl75 已提交
26 27 28 29 30 31
    },
    "abilities": [
      {
        "skills": [
          {
            "entities": [
K
kirl.liu 已提交
32 33
              "entity.system.home",
              "flag.home.intent.from.system"
K
kirl75 已提交
34 35 36 37 38 39 40 41 42
            ],
            "actions": [
              "action.system.home"
            ]
          }
        ],
        "name": "com.example.amsZipfileUnzipfileST.MainAbility",
        "icon": "$media:icon",
        "description": "$string:mainability_description",
K
kirl.liu 已提交
43
        "label": "$string:app_name",
K
kirl75 已提交
44
        "type": "page",
K
kirl.liu 已提交
45 46
        "launchType": "standard",
        "visible": true
K
kirl75 已提交
47 48 49 50
      }
    ],
    "reqPermissions": [
      {
K
kirl.liu 已提交
51 52
        "name": "ohos.permission.INSTALL_BUNDLE",
        "reason": "need use ohos.permission.INSTALL_BUNDLE"
K
kirl75 已提交
53 54
      },
      {
K
kirl.liu 已提交
55 56
        "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED",
        "reason":"need use ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
K
kirl75 已提交
57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
      },
      {
        "name":"ohos.permission.GET_BUNDLE_INFO",
        "reason":"need use ohos.permission.GET_BUNDLE_INFO"
      },
      {
        "name":"ohos.permission.CHANGE_ABILITY_ENABLED_STATE",
        "reason":"need use ohos.permission.CHANGE_ABILITY_ENABLED_STATE"
      },
      {
        "name":"ohos.permission.REMOVE_CACHE_FILES",
        "reason":"need use ohos.permission.REMOVE_CACHE_FILES"
      },
      {
        "name":"ohos.permission.LISTEN_BUNDLE_CHANGE",
        "reason":"need use ohos.permission.LISTEN_BUNDLE_CHANGE"
      }
K
kirl.liu 已提交
74 75 76 77 78 79 80 81 82 83 84 85
    ],
    "js": [
      {
        "pages": [
          "pages/index/index"
        ],
        "name": "default",
        "window": {
          "designWidth": 720,
          "autoDesignWidth": false
        }
      }
K
kirl75 已提交
86 87
    ]
  }
K
kirl.liu 已提交
88
}