mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-23 02:18:15 +00:00
- 新增 common/ 公共模块:模型、服务、组件、常量 - 新增 features/ 功能模块:graph(星图)、chat(聊天)、settings(设置)、commonbusiness - 新增 products/phone 产品入口层:EntryAbility + Index + MainPage - Index.ets 简化为纯路由入口,TabNavigation 移至 MainPage 统一管理 - 更新 build-profile.json5 注册所有新模块 - 迁移原始 entry/ 代码到分层架构,保持功能完整
47 lines
1.1 KiB
Plaintext
47 lines
1.1 KiB
Plaintext
{
|
|
"module": {
|
|
"name": "phone",
|
|
"type": "entry",
|
|
"description": "TrulyMEM phone entry module",
|
|
"mainElement": "EntryAbility",
|
|
"deviceTypes": [
|
|
"phone",
|
|
"tablet",
|
|
"2in1"
|
|
],
|
|
"deliveryWithInstall": true,
|
|
"installationFree": false,
|
|
"pages": "$profile:main_pages",
|
|
"abilities": [
|
|
{
|
|
"name": "EntryAbility",
|
|
"srcEntry": "./ets/entryability/EntryAbility.ets",
|
|
"description": "$string:EntryAbility_desc",
|
|
"icon": "$media:layered_image",
|
|
"label": "$string:EntryAbility_label",
|
|
"startWindowIcon": "$media:startIcon",
|
|
"startWindowBackground": "$color:start_window_background",
|
|
"exported": true,
|
|
"skills": [
|
|
{
|
|
"entities": [
|
|
"entity.system.home"
|
|
],
|
|
"actions": [
|
|
"ohos.want.action.home"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"requestPermissions": [
|
|
{
|
|
"name": "ohos.permission.INTERNET"
|
|
},
|
|
{
|
|
"name": "ohos.permission.GET_NETWORK_INFO"
|
|
}
|
|
]
|
|
}
|
|
}
|