From 6dc7d55f0a2aa82fff55880222ed89b3721ba64e Mon Sep 17 00:00:00 2001 From: shenzuqiang Date: Mon, 11 May 2026 10:10:05 +0800 Subject: [PATCH] dev: sync --- build-profile.json5 | 6 +++--- common/BuildProfile.ets | 6 +++--- common/src/main/ets/utils/AppUtils.ets | 2 +- features/mainLayout/BuildProfile.ets | 6 +++--- .../mainLayout/oh_modules/@ohos/common/BuildProfile.ets | 6 +++--- products/app/build-profile.json5 | 2 +- products/app/src/main/ets/pages/SplashScreenPage.ets | 2 +- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/build-profile.json5 b/build-profile.json5 index e6b1eef..aed809b 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -31,7 +31,7 @@ "products": [ { "name": "default", - "signingConfig": "release", + "signingConfig": "debug", "targetSdkVersion": "6.0.2(22)", "compatibleSdkVersion": "5.0.3(15)", "runtimeOS": "HarmonyOS", @@ -43,12 +43,12 @@ "arkOptions": { "buildProfileFields": { "CHANNEL": "harmony", - "BUILD_TIME": "2605081054" + "BUILD_TIME": "2605110927" } } }, "output": { - "artifactName": "rabbit_harmony_release_v1.0.0_2605081054" + "artifactName": "rabbit_harmony_debug_v1.0.0_2605110927" } } ], diff --git a/common/BuildProfile.ets b/common/BuildProfile.ets index fc97330..2792f55 100644 --- a/common/BuildProfile.ets +++ b/common/BuildProfile.ets @@ -2,11 +2,11 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '0.0.1'; -export const BUILD_MODE_NAME = 'release'; -export const DEBUG = false; +export const BUILD_MODE_NAME = 'debug'; +export const DEBUG = true; export const TARGET_NAME = 'default'; export const CHANNEL = 'harmony'; -export const BUILD_TIME = '2605081036'; +export const BUILD_TIME = '2605110926'; /** * BuildProfile Class is used only for compatibility purposes. diff --git a/common/src/main/ets/utils/AppUtils.ets b/common/src/main/ets/utils/AppUtils.ets index efc4aa6..eadfb8c 100644 --- a/common/src/main/ets/utils/AppUtils.ets +++ b/common/src/main/ets/utils/AppUtils.ets @@ -11,7 +11,7 @@ export async function openAppStore(context: common.UIAbilityContext) { // 1. 尝试直接拉起应用市场客户端 const marketWant: Want = { action: 'ohos.want.action.appdetail', - uri: `store://appgallery.huawei.com/app/detail?id=${bundleName}` // 替换为实际包名 + uri: `store://appgallery.huawei.com/app/detail?id=${bundleName}` }; await context.startAbility(marketWant); } catch (err) { diff --git a/features/mainLayout/BuildProfile.ets b/features/mainLayout/BuildProfile.ets index 1bf6b76..e9c0d70 100644 --- a/features/mainLayout/BuildProfile.ets +++ b/features/mainLayout/BuildProfile.ets @@ -2,11 +2,11 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '1.0.0'; -export const BUILD_MODE_NAME = 'release'; -export const DEBUG = false; +export const BUILD_MODE_NAME = 'debug'; +export const DEBUG = true; export const TARGET_NAME = 'default'; export const CHANNEL = 'harmony'; -export const BUILD_TIME = '2605081036'; +export const BUILD_TIME = '2605110926'; /** * BuildProfile Class is used only for compatibility purposes. diff --git a/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets b/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets index fc97330..2792f55 100644 --- a/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets +++ b/features/mainLayout/oh_modules/@ohos/common/BuildProfile.ets @@ -2,11 +2,11 @@ * Use these variables when you tailor your ArkTS code. They must be of the const type. */ export const HAR_VERSION = '0.0.1'; -export const BUILD_MODE_NAME = 'release'; -export const DEBUG = false; +export const BUILD_MODE_NAME = 'debug'; +export const DEBUG = true; export const TARGET_NAME = 'default'; export const CHANNEL = 'harmony'; -export const BUILD_TIME = '2605081036'; +export const BUILD_TIME = '2605110926'; /** * BuildProfile Class is used only for compatibility purposes. diff --git a/products/app/build-profile.json5 b/products/app/build-profile.json5 index f78fbbc..f5d7b79 100644 --- a/products/app/build-profile.json5 +++ b/products/app/build-profile.json5 @@ -26,7 +26,7 @@ { "name": "default", "output": { - "artifactName": "rabbit_harmony_v1.0.0_26581054" + "artifactName": "rabbit_harmony_v1.0.0_26511927" } }, { diff --git a/products/app/src/main/ets/pages/SplashScreenPage.ets b/products/app/src/main/ets/pages/SplashScreenPage.ets index 62e7d4a..62bd4ab 100644 --- a/products/app/src/main/ets/pages/SplashScreenPage.ets +++ b/products/app/src/main/ets/pages/SplashScreenPage.ets @@ -90,7 +90,7 @@ struct SplashScreenPage { Logger.info('Rabbit_SplashScreenPage', val === 'true'?'已同意协议,计时开始...':'未同意协议,需要弹窗展示协议'); if (val === 'true') { - // --- 场景2:已同意过,直接进入 --- + // ---已同意过,直接进入 --- this.agreeRun() } else { // 未同意,显示弹窗