module.json5 1.4 KB

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