fix: 修复 main 文件及 "production" 的问题

This commit is contained in:
claude-code-best
2026-04-07 10:53:45 +08:00
parent dab0783941
commit a7d9a220bf
8 changed files with 6747 additions and 6356 deletions

View File

@@ -153,7 +153,7 @@ export async function showSetupScreens(
devChannels?: ChannelEntry[],
): Promise<boolean> {
if (
"production" === 'test' ||
process.env.NODE_ENV === 'test' ||
isEnvTruthy(false) ||
process.env.IS_DEMO // Skip onboarding in demo mode
) {