- 在 BuildProfile.ets 文件中将 BUILD_MODE_NAME从 'release' 改为 'debug' - 将 DEBUG 变量的值从 false 改为 true - 这些更改适用于 basic 和 sdk_ywx 目录下的 BuildProfile.ets 文件
17 行
519 B
Plaintext
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.9';
|
|
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;
|
|
} |