update:完善构建参数的说明

feature/Inventory
胡宇飞 2024-01-08 10:50:02 +08:00
parent 95f32b1c33
commit 6caf2d0a78
1 changed files with 20 additions and 15 deletions

View File

@ -7,24 +7,29 @@ namespace Guru.Editor
{ {
Editor = 0, Editor = 0,
Jenkins, Jenkins,
Others,
} }
public class AppBuildParam public class AppBuildParam
{ {
public bool IsBuildRelease; //------------ Basic ----------------
public bool IsBuildShowLog; public bool IsBuildRelease; // 是否构建发布包体
public AppBuilderType BuilderType; public bool IsBuildShowLog; // 是否显示日志
public string BuildVersion = ""; public AppBuilderType BuilderType; // 构建类型
public bool AutoSetBuildNumber = true; public string BuildVersion = ""; // 构建版本号, 填写后会依据此版本设置应用的 Version
public bool IsBuildAAB; public bool AutoSetBuildNumber = true; // 自动设置构建号, 可参考 Guru的SDK 接入说明文档
public bool IsBuildSymbols = false; public bool UseGuruCerts = true; // 是否使用 Guru 的证书打包
public int AndroidTargetVersion = 0; //------------ Android ----------------
public bool AndroidUseMinify = false; public bool IsBuildAAB; // 是否构建 AAB 包体 ( GooglePlay 发布专用 )
public bool DebugWithMono = true; public bool IsBuildSymbols = false; // 是否需要构建 Symbols.zip 文件 ( GooglePlay 发布专用 )
public string IOSTargetVersion = ""; public int AndroidTargetVersion = 0; // Android SDK 版本设置 ( GooglePlay 发布专用 )
public string IOSTeamId = ""; public bool AndroidUseMinify = false; // 是否开启 Android 的代码混淆和保护文件
public string CompanyName = ""; public bool DebugWithMono = true; // 是否使用 Mono 编译项目 ( Android Debug包专用 )
public bool UseGuruCerts = true; // 使用 Guru 的证书打包 //------------ iOS ----------------
public string IOSTargetVersion = ""; // IOS SDK 版本设置 ( iOS 发布专用 )
public string IOSTeamId = ""; // IOS 打包 TeamId ( iOS 使用专用的开发证书后开启 )
public string CompanyName = ""; // 发布厂商的名称
public override string ToString() public override string ToString()