From cd9c5731fb14f7ecd0e59be6ad02ff1eec1f8902 Mon Sep 17 00:00:00 2001 From: lanhaoyu Date: Thu, 22 May 2025 20:32:21 +0800 Subject: [PATCH 1/2] update code Signed-off-by: lanhaoyu --- modulecheck/app.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/modulecheck/app.json b/modulecheck/app.json index 1f1ff12a..e8f35a3a 100644 --- a/modulecheck/app.json +++ b/modulecheck/app.json @@ -133,7 +133,8 @@ "cloudFileSyncEnabled", "configuration", "assetAccessGroups", - "startMode" + "startMode", + "appPreloadPhase" ] } }, @@ -498,6 +499,15 @@ "recentTask" ], "default": "mainTask" + }, + "appPreloadPhase": { + "description": "Indicates the app preload phase of application. When not configured, do not preload.", + "type": "string", + "enum": [ + "processCreated", + "abilityStageCreated", + "windowStageCreated" + ] } } } -- Gitee From e4fd09d36f5cbe50a989bc631ec635006e9ff4e6 Mon Sep 17 00:00:00 2001 From: lanhaoyu Date: Thu, 22 May 2025 21:56:40 +0800 Subject: [PATCH 2/2] update doc Signed-off-by: lanhaoyu --- modulecheck/app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulecheck/app.json b/modulecheck/app.json index e8f35a3a..d10fc260 100644 --- a/modulecheck/app.json +++ b/modulecheck/app.json @@ -501,7 +501,7 @@ "default": "mainTask" }, "appPreloadPhase": { - "description": "Indicates the app preload phase of application. When not configured, do not preload.", + "description": "Indicates the app preload phase for the application. if not configured, the app will not be preload.", "type": "string", "enum": [ "processCreated", -- Gitee