From e1d18ea4a73172073af28763d6ef8e58f51e7afc Mon Sep 17 00:00:00 2001 From: jackd320 Date: Fri, 7 Apr 2023 10:43:44 +0800 Subject: [PATCH] Signed-off-by: jackd320 --- build-profile.json5 | 2 +- hvigorfile.js | 2 ++ package-lock.json | 2 +- package.json | 2 +- product/oh/base/package-lock.json | 2 +- product/oh/base/package.json | 4 ++-- product/oh/base/src/main/module.json5 | 4 ++-- 7 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 hvigorfile.js diff --git a/build-profile.json5 b/build-profile.json5 index d8aef2b..aee89f0 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -11,7 +11,7 @@ }, "modules": [ { - "name": "ouc_oh_base", + "name": "updateapp", "srcPath": "./product/oh/base", "targets": [ { diff --git a/hvigorfile.js b/hvigorfile.js new file mode 100644 index 0000000..c331b1b --- /dev/null +++ b/hvigorfile.js @@ -0,0 +1,2 @@ +// Script for compiling build behavior. It is built in the build plug-in and cannot be modified currently. +module.exports = require('@ohos/hvigor-ohos-plugin').appTasks; \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 4c50f7a..7069b0d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "ouc", + "name": "updateapp", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/package.json b/package.json index d61eb11..0ea372a 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "license": "ISC", "devDependencies": {}, "author": "", - "name": "ouc", + "name": "updateapp", "ohos": { "org": "huawei", "directoryLevel": "project", diff --git a/product/oh/base/package-lock.json b/product/oh/base/package-lock.json index cbc7061..aa2a3b5 100644 --- a/product/oh/base/package-lock.json +++ b/product/oh/base/package-lock.json @@ -1,5 +1,5 @@ { - "name": "ouc", + "name": "updateapp", "version": "1.0.0", "lockfileVersion": 1, "requires": true, diff --git a/product/oh/base/package.json b/product/oh/base/package.json index 38c7f84..91ab873 100644 --- a/product/oh/base/package.json +++ b/product/oh/base/package.json @@ -1,12 +1,12 @@ { - "name": "ouc", + "name": "updateapp", "version": "1.0.0", "ohos": { "org": "huawei", "buildTool": "hvigor", "directoryLevel": "module" }, - "description": "ouc description", + "description": "updateapp description", "repository": {}, "license": "ISC", "dependencies": { diff --git a/product/oh/base/src/main/module.json5 b/product/oh/base/src/main/module.json5 index 4a8085c..1123f89 100644 --- a/product/oh/base/src/main/module.json5 +++ b/product/oh/base/src/main/module.json5 @@ -1,6 +1,6 @@ { "module": { - "name": "ouc_oh_base", + "name": "updateapp", "type": "entry", "srcEntrance": "./ets/Application/AbilityStage.ts", "description": "$string:description_mainability", @@ -51,7 +51,7 @@ "metadata": [ { "name": "metadata.settings.menu.v1", - "value": '{"menu" : {"key": "com_hmos_ouc_software_update_settings", "menuType": "Entry","titleResource": "entry_MainAbility"}}' + "value": '{"menu" : {"key": "com_ohos_updateapp_software_update_settings", "menuType": "Entry","titleResource": "entry_MainAbility"}}' }, { "name": "com.ohos.systemui.notification_fixed", -- Gitee