fix(tui): await mounted welcome overlay service

This commit is contained in:
NI0317
2026-07-31 12:02:13 +08:00
parent f7355e4e8e
commit 1b4c11e7d7
2 changed files with 26 additions and 20 deletions

View File

@@ -267,7 +267,7 @@ export async function runTui(
)
app.current = ctx
addHarnessSourceSection(ctx, SOURCE_ROOT)
if (showFirstRunWelcome && ctx.get('tui') !== undefined) {
if (showFirstRunWelcome) {
await ctx.plugin({
name: tuiFirstRunWelcomeName,
inject: tuiFirstRunWelcomeInject,