提交 05b735f8 authored 作者: 史晓晨's avatar 史晓晨

feat:①证书配置②自定义产品生成的应用包名称

上级 8e7ba2e8
{ {
"app": { "app": {
"bundleName": "com.example.harmony_demo", "bundleName": "clx.harmonydemo.demo",
"vendor": "example", "vendor": "example",
"versionCode": 1000000, "versionCode": 1000000,
"versionName": "1.0.0", "versionName": "1.0.0",
......
-----BEGIN CERTIFICATE-----
MIICGjCCAaGgAwIBAgIIShhpn519jNAwCgYIKoZIzj0EAwMwUzELMAkGA1UEBhMC
Q04xDzANBgNVBAoMBkh1YXdlaTETMBEGA1UECwwKSHVhd2VpIENCRzEeMBwGA1UE
AwwVSHVhd2VpIENCRyBSb290IENBIEcyMB4XDTIwMDMxNjAzMDQzOVoXDTQ5MDMx
NjAzMDQzOVowUzELMAkGA1UEBhMCQ04xDzANBgNVBAoMBkh1YXdlaTETMBEGA1UE
CwwKSHVhd2VpIENCRzEeMBwGA1UEAwwVSHVhd2VpIENCRyBSb290IENBIEcyMHYw
EAYHKoZIzj0CAQYFK4EEACIDYgAEWidkGnDSOw3/HE2y2GHl+fpWBIa5S+IlnNrs
GUvwC1I2QWvtqCHWmwFlFK95zKXiM8s9yV3VVXh7ivN8ZJO3SC5N1TCrvB2lpHMB
wcz4DA0kgHCMm/wDec6kOHx1xvCRo0IwQDAOBgNVHQ8BAf8EBAMCAQYwDwYDVR0T
AQH/BAUwAwEB/zAdBgNVHQ4EFgQUo45a9Vq8cYwqaiVyfkiS4pLcIAAwCgYIKoZI
zj0EAwMDZwAwZAIwMypeB7P0IbY7c6gpWcClhRznOJFj8uavrNu2PIoz9KIqr3jn
BlBHJs0myI7ntYpEAjBbm8eDMZY5zq5iMZUC6H7UzYSix4Uy1YlsLVV738PtKP9h
FTjgDHctXJlC5L7+ZDY=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIDATCCAoigAwIBAgIIXmuDXbWpOB8wCgYIKoZIzj0EAwMwUzELMAkGA1UEBhMC
Q04xDzANBgNVBAoMBkh1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ELMAkG
A1UEBgwCQ04xDzANBgNVBAoMBkh1YXdlaTETMBEGA1UECwwKSHVhd2VpIENCRzEt
MCsGA1UEAwwkSHVhd2VpIENCRyBEZXZlbG9wZXIgUmVsYXRpb25zIENBIEcyMB4X
DTI0MTAyNzE5NDI1N1oXDTI3MTAyNzE5NDI1N1owcTELMAkGA1UEBhMCQ04xEjAQ
BgNVBAoMCeWPsuaZk+aZqDEcMBoGA1UECwwTMTQ3NjE4MjA2ODM5NTI1MzMxMzEw
MC4GA1UEAwwn5Y+y5pmT5pmoKDE0NzYxODIwNjgzOTUyNTMzMTMpXCxSZWxlYXNl
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEqMtv7Zibo6yykKnYpkKpKx+V+MZN
ODhpHosOtV42RlDi2Ha75JH586PKEejnYKB3/+C2aACWg/aEr+EP481R6KOB0TCB
zjAdBgNVHQ4EFgQUyJmn3dHMMhKOICdgkYtVSxjpIeEwDAYDVR0TAQH/BAIwADAf
BgNVHSMEGDAWgBTbXpOyI+jQ5P5xembppHNHW3/zXjBZBgNVHR8EUjBQME6gTKBK
hkhodHRwOi8vaDVob3N0aW5nLWRyY24uZGJhbmtjZG4uY24vY2NoNS9jcmwvaGRy
Y2FnMi9IdWF3ZWlDQkdIRFJHMmNybC5jcmwwDgYDVR0PAQH/BAQDAgeAMBMGA1Ud
JQQMMAoGCCsGAQUFBwMDMAoGCCqGSM49BAMDA2gAMGUCMFx1DEP0b3REb+2TFKwV
AGWfM1DyR9TOWjqVxiS/ziniExCHTuW4o/smO17ZSMXKWAIxAIqCuTmrUwMcTRUL
WPvtZ3ftJZD1pbb8mW7GTQcRTs+yLCC/jqtBUJEjRMYGEgPxEw==
-----END CERTIFICATE-----
{ {
"app": { "app": {
"signingConfigs": [], "signingConfigs": [
{
"name": "default",
"type": "HarmonyOS",
"material": {
"storePassword": "00000018832EAB80E2ACBB524A39FC307541BF4AD41743EE2A03539E39D4F3AD6D35770B9FF1818F",
"certpath": "./AppScope/certificate/harmony_test.cer",
"keyAlias": "harmony_test",
"keyPassword": "000000182837E8A704A5D04F8B9DA355A04A0DE2E69C424217D07F9182C7BE0F3DF3BBA0B7AF1AF1",
"profile": "./AppScope/certificate/harmony_test_prifileRelease.p7b",
"signAlg": "SHA256withECDSA",
"storeFile": "./AppScope/certificate/harmony_test.p12"
}
}
],
"products": [ "products": [
{ {
"name": "default", "name": "default",
"signingConfig": "default", "signingConfig": "default",
"compatibleSdkVersion": "5.0.0(12)", "compatibleSdkVersion": "5.0.0(12)",
"runtimeOS": "HarmonyOS", "runtimeOS": "HarmonyOS",
"output": {
"artifactName": "harmony-release"
},
"buildOption": { "buildOption": {
"strictMode": { "strictMode": {
"caseSensitiveCheck": true, "caseSensitiveCheck": true,
"useNormalizedOHMUrl": true "useNormalizedOHMUrl": true
} }
} },
} }
], ],
"buildModeSet": [ "buildModeSet": [
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论