config.json 3.9 KB
Newer Older
D
dy 已提交
1
{
2 3 4 5 6 7 8 9 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
  "app": {
    "bundleName": "com.ohos.acecollaboration",
    "vendor": "ohos",
    "version": {
      "code": 1000000,
      "name": "1.0.0"
    }
  },
  "deviceConfig": {},
  "module": {
    "package": "com.ohos.acecollaboration",
    "name": ".MyApplication",
    "mainAbility": "com.ohos.acecollaboration.MainAbility",
    "deviceType": [
      "phone"
    ],
    "reqPermissions": [
      {
        "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED"
      },
      {
        "name": "ohos.permission.GET_BUNDLE_INFO"
      }
    ],
    "distro": {
      "deliveryWithInstall": true,
      "moduleName": "entry",
      "moduleType": "entry",
      "installationFree": false
    },
    "abilities": [
      {
        "skills": [
          {
            "entities": [
              "entity.system.home"
            ],
            "actions": [
              "action.system.home"
            ]
          }
        ],
        "visible": true,
D
dy 已提交
45
        "srcPath": "MainAbility",
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
        "srcLanguage": "ets",
        "name": "com.ohos.acecollaboration.MainAbility",
        "icon": "$media:icon",
        "description": "$string:mainability_description",
        "label": "$string:entry_MainAbility",
        "type": "page",
        "launchType": "standard"
      },
      {
        "orientation": "unspecified",
        "srcPath": "MainAbility2",
        "name": ".MainAbility2",
        "srcLanguage": "ets",
        "icon": "$media:icon",
        "description": "$string:description_mainability2",
        "formsEnabled": false,
        "label": "$string:entry_MainAbility2",
        "type": "page",
        "launchType": "standard"
      },
      {
        "srcPath": "ServiceAbility",
        "name": ".ServiceAbility",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:description_serviceability",
        "type": "service"
      },
      {
        "srcPath": "ServiceAbility2",
        "name": ".ServiceAbility2",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:description_serviceability2",
        "type": "service"
      },
      {
        "srcPath": "ServiceAbility3",
        "name": ".ServiceAbility3",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:description_serviceability3",
        "type": "service"
      },
      {
        "srcPath": "ServiceAbility4",
        "name": ".ServiceAbility4",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:description_serviceability4",
        "type": "service"
      },
      {
        "srcPath": "ServiceAbility5",
        "name": ".ServiceAbility5",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:description_serviceability5",
        "type": "service"
D
dy 已提交
105 106 107 108 109 110 111 112
      },
      {
        "srcPath": "ServiceAbility6",
        "name": ".ServiceAbility6",
        "icon": "$media:icon",
        "srcLanguage": "ets",
        "description": "$string:description_serviceability6",
        "type": "service"
113 114 115 116 117 118 119 120 121 122 123
      }
    ],
    "js": [
      {
        "mode": {
          "syntax": "ets",
          "type": "pageAbility"
        },
        "pages": [
          "pages/index"
        ],
D
dy 已提交
124
        "name": "MainAbility",
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
        "window": {
          "designWidth": 720,
          "autoDesignWidth": false
        }
      },
      {
        "mode": {
          "syntax": "ets",
          "type": "pageAbility"
        },
        "pages": [
          "pages/index"
        ],
        "name": ".MainAbility2",
        "window": {
          "designWidth": 720,
          "autoDesignWidth": false
        }
      }
    ],
    "defPermissions": [
      {
        "name": "com.ohos.acecollaboration.DataAbilityShellProvider.PROVIDER"
      }
    ]
  }
}