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

@@ -33,8 +33,8 @@ export function PackageManagerAutoUpdater({ verbose }: Props): React.ReactNode {
const checkForUpdates = React.useCallback(async () => {
if (
"production" === 'test' ||
"production" === 'development'
process.env.NODE_ENV === 'test' ||
process.env.NODE_ENV === 'development'
) {
return
}