Do not run runPythonApp() in developer mode
This commit is contained in:
parent
a6e46c8db1
commit
f5a7d58d34
|
|
@ -49,7 +49,7 @@ void main(List<String> args) async {
|
||||||
builder: (BuildContext context, AsyncSnapshot snapshot) {
|
builder: (BuildContext context, AsyncSnapshot snapshot) {
|
||||||
if (snapshot.hasData) {
|
if (snapshot.hasData) {
|
||||||
// OK - start Python program
|
// OK - start Python program
|
||||||
return kIsWeb
|
return kIsWeb || (isDesktopPlatform() && _args.isNotEmpty)
|
||||||
? FletApp(
|
? FletApp(
|
||||||
pageUrl: pageUrl,
|
pageUrl: pageUrl,
|
||||||
assetsDir: assetsDir,
|
assetsDir: assetsDir,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue