Do not run runPythonApp() in developer mode

This commit is contained in:
Feodor Fitsner 2025-01-15 11:27:22 -08:00
parent a6e46c8db1
commit f5a7d58d34
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void main(List<String> args) async {
builder: (BuildContext context, AsyncSnapshot snapshot) {
if (snapshot.hasData) {
// OK - start Python program
return kIsWeb
return kIsWeb || (isDesktopPlatform() && _args.isNotEmpty)
? FletApp(
pageUrl: pageUrl,
assetsDir: assetsDir,