chore: rename bundle to com.hraulein.haven + debug signing config

This commit is contained in:
ali
2026-09-10 09:09:32 +08:00
parent 746628820b
commit 87b452c4dc
3 changed files with 48 additions and 34 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"app": { "app": {
"bundleName": "sh.haven.harmony", "bundleName": "com.hraulein.haven",
"vendor": "HavenOH", "vendor": "HavenOH",
"versionCode": 10000, "versionCode": 10000,
"versionName": "0.1.0", "versionName": "0.1.0",
+46 -32
View File
@@ -1,42 +1,56 @@
{ {
"app": { app: {
"signingConfigs": [], signingConfigs: [
"products": [
{ {
"name": "default", name: 'default',
"signingConfig": "default", type: 'HarmonyOS',
"targetSdkVersion": "26.0.0", material: {
"compatibleSdkVersion": "26.0.0", certpath: 'C:\\Users\\Ali\\.ohos\\config\\default_Haven_fk0qwC6xQhq03hIxCmLnyUCZsuphbnJ7qVPoAe28=.cer',
"runtimeOS": "HarmonyOS", keyAlias: 'debugKey',
"buildOption": { keyPassword: '000000195a38045b7bce9691b4bfa788d5d867b719804ede53485e3c02917aac5c81ba50b364f5f5a7',
"strictMode": { profile: 'C:\\Users\\Ali\\.ohos\\config\\default_Haven_fk0qwC6xQhq03hIxCmLnyUCZsuphbnJ7qVPoAe28=.p7b',
"caseSensitiveCheck": true, signAlg: 'SHA256withECDSA',
"useNormalizedOHMUrl": true storeFile: 'C:\\Users\\Ali\\.ohos\\config\\default_Haven_fk0qwC6xQhq03hIxCmLnyUCZsuphbnJ7qVPoAe28=.p12',
} storePassword: '000000195a38045b7bce9691b4bfa788d5d867b719804ede53485e3c02917aac5c81ba50b364f5f5a7',
} },
} },
], ],
"buildModeSet": [ products: [
{ {
"name": "debug", name: 'default',
signingConfig: 'default',
targetSdkVersion: '26.0.0',
compatibleSdkVersion: '26.0.0',
runtimeOS: 'HarmonyOS',
buildOption: {
strictMode: {
caseSensitiveCheck: true,
useNormalizedOHMUrl: true,
},
},
},
],
buildModeSet: [
{
name: 'debug',
}, },
{ {
"name": "release" name: 'release',
}
]
}, },
"modules": [ ],
},
modules: [
{ {
"name": "entry", name: 'entry',
"srcPath": "./entry", srcPath: './entry',
"targets": [ targets: [
{ {
"name": "default", name: 'default',
"applyToProducts": [ applyToProducts: [
"default" 'default',
] ],
} },
] ],
} },
] ],
} }
@@ -13,7 +13,7 @@ import { common, wantAgent } from '@kit.AbilityKit';
import type { WantAgent } from '@kit.AbilityKit'; import type { WantAgent } from '@kit.AbilityKit';
import { Log } from './Log'; import { Log } from './Log';
const BUNDLE_NAME: string = 'sh.haven.harmony'; const BUNDLE_NAME: string = 'com.hraulein.haven';
export class BackgroundKeepAlive { export class BackgroundKeepAlive {
private static readonly TAG: string = 'BackgroundKeepAlive'; private static readonly TAG: string = 'BackgroundKeepAlive';