feat(config): add pack.json for project configuration

- 添加项目打包配置文件,支持 Android 和 iOS 平台参数设置
- 包含证书、渠道包、广告开关等配置项
- 支持自定义基座和安心打包模式
This commit is contained in:
郭鸿轩 2025-08-16 16:15:17 +08:00
parent cfc3a24e6e
commit 216d7c6ab4

51
pack.json Normal file
View File

@ -0,0 +1,51 @@
{
//
"project": "pda",
// android "android","ios"
"platform":"android",
//使 false true false
"iscustom": false,
//false,true,false
"safemode": false,
//android
"android": {
//
"packagename":"uni.UNI_F79F300",
// 0 0 使 1 使 2 使 3 使
"androidpacktype":"0",
//使
//,
"certalias":"testalias",
//,
"certfile":"C:\\Users\\13597\\test.keystore",
//,
"certpassword":"123456",
//HBuilderx4.41,
"storePassword": "123456",
// "google","yyb","360","huawei","xiaomi","oppo","vivo"
"channels":""
},
//ios
"ios": {
//ios appid
"bundle":"com.test.ios",
//ios iPhone "iPhone","iPad"
"supporteddevice":"iPhone,iPad",
//iOS使profile
"profile":"",
//iOS使p12
"certfile":"",
//iOS使
"certpassword":"123"
},
// true false
"isconfusion":false,
//广 true false
"splashads":false,
//广true false
"rpads":false,
//push广 true false
"pushads":false,
// true false
"exchange":false
}