module.json5 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "module": {
  3. "name": "entry",
  4. "type": "entry",
  5. "description": "$string:module_desc",
  6. "mainElement": "EntryAbility",
  7. "deviceTypes": [
  8. "phone",
  9. "tablet",
  10. "2in1",
  11. "tv"
  12. ],
  13. "deliveryWithInstall": true,
  14. "installationFree": false,
  15. "pages": "$profile:main_pages",
  16. "abilities": [
  17. {
  18. "name": "EntryAbility",
  19. "srcEntry": "./ets/entryability/EntryAbility.ets",
  20. "description": "$string:EntryAbility_desc",
  21. "icon": "$media:layered_image",
  22. "label": "$string:EntryAbility_label",
  23. "startWindowIcon": "$media:startIcon",
  24. "startWindowBackground": "$color:start_window_background",
  25. "exported": true,
  26. "skills": [
  27. {
  28. "entities": [
  29. "entity.system.home"
  30. ],
  31. "actions": [
  32. "ohos.want.action.home"
  33. ]
  34. }
  35. ]
  36. }
  37. ],
  38. "extensionAbilities": [
  39. {
  40. "name": "EntryBackupAbility",
  41. "srcEntry": "./ets/entrybackupability/EntryBackupAbility.ets",
  42. "type": "backup",
  43. "exported": false,
  44. "metadata": [
  45. {
  46. "name": "ohos.extension.backup",
  47. "resource": "$profile:backup_config"
  48. }
  49. ],
  50. }
  51. ]
  52. }
  53. }