I started using the window manager. I managed to open it in debug mode, but when I build the its not working
WidgetsFlutterBinding.ensureInitialized();
await windowManager.ensureInitialized();
const windowOptions = WindowOptions(
size: Size(800, 500),
minimumSize: Size(800, 500),
center: true,
backgroundColor: Colors.transparent,
skipTaskbar: false,
titleBarStyle: TitleBarStyle.hidden,
);
await windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.show();
await windowManager.focus();
});
runApp(const MyApp());
}```
I found out `await windowManager.ensureInitialized();` freeze the app from opening
I started using the window manager. I managed to open it in debug mode, but when I build the its not working