HarmonyOSBaseLibs/BuildProfile.ets
徐勤民 28a3df495c feat(basic): 添加设备信息中的产品型号字段
- 在 DeviceInfo 类中添加 productModel 属性- 在 ToolsHelper 中获取并记录设备的产品型号信息
- 更新 BuildProfile 中的版本号至 1.0.8
- 在 CHANGELOG.md 中添加新版本的更新日志
- 更新 oh-package.json5 中的版本号
2025-03-11 18:52:22 +08:00

17 行
519 B
Plaintext

/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
export const HAR_VERSION = '1.0.8';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';
/**
* BuildProfile Class is used only for compatibility purposes.
*/
export default class BuildProfile {
static readonly HAR_VERSION = HAR_VERSION;
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
static readonly DEBUG = DEBUG;
static readonly TARGET_NAME = TARGET_NAME;
}