Initial commit: Flutter 无书应用项目
This commit is contained in:
82
ohos/entry/src/main/module.json5
Normal file
82
ohos/entry/src/main/module.json5
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"module": {
|
||||
"name": "entry",
|
||||
"type": "entry",
|
||||
"description": "$string:module_desc",
|
||||
"mainElement": "EntryAbility",
|
||||
"deviceTypes": [
|
||||
"phone"
|
||||
],
|
||||
"deliveryWithInstall": true,
|
||||
"installationFree": false,
|
||||
"pages": "$profile:main_pages",
|
||||
"abilities": [
|
||||
{
|
||||
"name": "EntryAbility",
|
||||
"srcEntry": "./ets/entryability/EntryAbility.ets",
|
||||
"description": "$string:EntryAbility_desc",
|
||||
"icon": "$media:icon",
|
||||
"label": "$string:EntryAbility_label",
|
||||
"startWindowIcon": "$media:icon",
|
||||
"startWindowBackground": "$color:start_window_background",
|
||||
"exported": true,
|
||||
"skills": [
|
||||
{
|
||||
"entities": [
|
||||
"entity.system.home"
|
||||
],
|
||||
"actions": [
|
||||
"action.system.home"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": [
|
||||
{
|
||||
"name": "ohos.ability.shortcuts",
|
||||
"resource": "$profile:shortcuts_config"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "WidgetMenuAbility",
|
||||
"srcEntry": "./ets/ability/WidgetMenuAbility.ets",
|
||||
"description": "$string:WidgetMenuAbility_desc",
|
||||
"icon": "$media:icon",
|
||||
"label": "$string:WidgetMenuAbility_label",
|
||||
"startWindowIcon": "$media:icon",
|
||||
"startWindowBackground": "$color:start_window_background",
|
||||
"exported": true,
|
||||
"skills": [
|
||||
{
|
||||
"entities": [
|
||||
"entity.system.home"
|
||||
],
|
||||
"actions": [
|
||||
"action.system.home"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
],
|
||||
"extensionAbilities": [
|
||||
{
|
||||
"name": "WidgetFormAbility",
|
||||
"srcEntry": "./ets/formability/WidgetFormAbility.ets",
|
||||
"description": "$string:WidgetFormAbility_desc",
|
||||
"icon": "$media:icon",
|
||||
"label": "$string:WidgetFormAbility_label",
|
||||
"type": "form",
|
||||
"metadata": [
|
||||
{
|
||||
"name": "ohos.extension.form",
|
||||
"resource": "$profile:form_config"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"requestPermissions": [
|
||||
{"name" : "ohos.permission.INTERNET"},
|
||||
{"name" : "ohos.permission.VIBRATE"}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user