1/* 2 * Copyright 2023 Unionman Technology 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 "description": "$string:module_desc", 21 "mainElement": "EntryAbility", 22 "deviceTypes": [ 23 "default", 24 "tablet" 25 ], 26 "requestPermissions": [ 27 { 28 "name": "ohos.permission.UPDATE_SYSTEM" 29 }, 30 { 31 "name": "ohos.permission.INTERNET" 32 }, 33 { 34 "name": "ohos.permission.SET_WIFI_INFO" 35 }, 36 { 37 "name": "ohos.permission.MANAGE_WIFI_CONNECTION" 38 }, 39 { 40 "name": "ohos.permission.GET_WIFI_INFO" 41 }, 42 { 43 "name": "ohos.permission.INSTALL_BUNDLE" 44 }, 45 { 46 "name": "ohos.permission.FILE_ACCESS_MANAGER" 47 }, 48 { 49 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 50 }, 51 { 52 "name": "ohos.permission.INTERNET" 53 }, 54 { 55 "name": "ohos.permission.GET_BUNDLE_INFO_PRIVILEGED" 56 }, 57 { 58 "name": "ohos.permission.WRITE_MEDIA" 59 } 60 ], 61 "deliveryWithInstall": true, 62 "installationFree": false, 63 "pages": "$profile:main_pages", 64 "abilities": [ 65 { 66 "name": "EntryAbility", 67 "srcEntry": "./ets/entryability/EntryAbility.ts", 68 "description": "$string:EntryAbility_desc", 69 "icon": "$media:icon", 70 "label": "$string:EntryAbility_label", 71 "startWindowIcon": "$media:icon", 72 "startWindowBackground": "$color:start_window_background", 73 "exported": true, 74 "skills": [ 75 { 76 "entities": [ 77 "entity.system.home" 78 ], 79 "actions": [ 80 "action.system.home" 81 ] 82 } 83 ] 84 } 85 ] 86 } 87}