This commit is contained in:
kodjomoustapha 2024-12-13 18:25:47 +01:00
parent 53300dafef
commit ae1db05f04

View file

@ -40,13 +40,6 @@ void main(List<String> args) async {
await RustLib.init();
if (!(Platform.isAndroid || Platform.isIOS)) {
await windowManager.ensureInitialized();
WindowOptions windowOptions = WindowOptions(
center: true,
);
windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.show();
await windowManager.focus();
});
}
if (!kIsWeb && defaultTargetPlatform == TargetPlatform.windows) {
final availableVersion = await WebViewEnvironment.getAvailableVersion();