don't show devtools for launch production package when run auto reminder

This commit is contained in:
geekgeekrun
2024-11-22 01:25:40 +08:00
parent 27d9cdb403
commit c43ff65f16

View File

@@ -20,7 +20,7 @@ export async function bootstrap() {
width: 1440,
height: 800
},
devtools: true
devtools: process.env.NODE_ENV === 'development'
})
return browser