diff --git a/README_zh.md b/README_zh.md index 20bf4be6..3c611034 100755 --- a/README_zh.md +++ b/README_zh.md @@ -116,7 +116,7 @@ OpenHarmony.p12和OpenHarmonyApplication.cer文件可在[签名工具仓](https: "runtimeOS": "OpenHarmony" } ], - "entryModules": ["pad-launcher","phone-launcher"] + "entryModules": ["pad_launcher", "phone_launcher"] } ``` @@ -147,8 +147,8 @@ OpenHarmony.p12和OpenHarmonyApplication.cer文件可在[签名工具仓](https: **使用以下命令来更新编译出来的Launcher部件hap包** ``` -ren phone-launcher-default-signed.hap Launcher.hap -ren launcher_settings-phone-launcher-default-signed.hap Launcher_Settings.hap +ren phone_launcher-default-signed.hap Launcher.hap +ren launcher_settings-phone_launcher-default-signed.hap Launcher_Settings.hap hdc target mount hdc shell rm -rf /data/misc_de/0/mdds/0/default/bundle_manager_service diff --git a/build-profile.json5 b/build-profile.json5 index 31cc92c3..5bf02267 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -133,7 +133,7 @@ ], }, { - "name": "phone-launcher", + "name": "phone_launcher", "srcPath": "./product/phone", "targets": [ { @@ -145,7 +145,7 @@ ], }, { - "name": "pad-launcher", + "name": "pad_launcher", "srcPath": "./product/pad", "targets": [ { diff --git a/common/src/main/ets/default/constants/CommonConstants.ts b/common/src/main/ets/default/constants/CommonConstants.ts index 0a4b0464..c2e65dd5 100644 --- a/common/src/main/ets/default/constants/CommonConstants.ts +++ b/common/src/main/ets/default/constants/CommonConstants.ts @@ -31,7 +31,7 @@ export class CommonConstants { /** * Module name of AppCenter. */ - static MODULE_NAME = 'pad-launcher'; + static MODULE_NAME = 'pad_launcher'; /** * Ability name of AppCenter. diff --git a/feature/settings/build-profile.json5 b/feature/settings/build-profile.json5 index 06fa1ec6..510289df 100644 --- a/feature/settings/build-profile.json5 +++ b/feature/settings/build-profile.json5 @@ -7,5 +7,5 @@ "name": "default", } ], - "entryModules": ["pad-launcher","phone-launcher"] + "entryModules": ["pad_launcher", "phone_launcher"] } \ No newline at end of file diff --git a/product/pad/src/main/module.json5 b/product/pad/src/main/module.json5 index 4cbc027d..ad6daff3 100644 --- a/product/pad/src/main/module.json5 +++ b/product/pad/src/main/module.json5 @@ -1,6 +1,6 @@ { "module": { - "name": "pad-launcher", + "name": "pad_launcher", "type": "entry", "srcEntry": "./ets/Application/AbilityStage.ts", "description": "$string:mainability_description", diff --git a/product/phone/src/main/module.json5 b/product/phone/src/main/module.json5 index 7175144f..5bb4b456 100644 --- a/product/phone/src/main/module.json5 +++ b/product/phone/src/main/module.json5 @@ -1,6 +1,6 @@ { "module": { - "name": "phone-launcher", + "name": "phone_launcher", "type": "entry", "srcEntry": "./ets/Application/AbilityStage.ts", "description": "$string:mainability_description",