flet-dev / serious-python

Python runtime for Flutter apps
Apache License 2.0
188 stars 23 forks source link

Flutter build windows app not run when move it to different directory #93

Open Kaioken3000 opened 4 months ago

Kaioken3000 commented 4 months ago

My flutter windows build application run normally after i build it, but when i copy the build directory to another folder it doesn't run.

i think it because something is wrong with the serius_python plugin, because it happend only after i add it to my code.

here the code:

Future main() async { WidgetsFlutterBinding.ensureInitialized(); speechToText();

// runApp(const LoginPageAdmin()); runApp( MultiProvider( providers: [ ChangeNotifierProvider(create: (_) => Progress()), ], child: const LoginPageAdmin(), ), ); }

Future speechToText() async { await SeriousPython.runProgram( "D:/D/demofastapi/main.pyc", sync: false, ); }

Please help!!!!

I just want it to run

FeodorFitsner commented 4 months ago

Will take a look.

Please do not create duplicates.

FeodorFitsner commented 4 months ago

What error do you get (in the console or a dialog)?