-
This commit is contained in:
parent
53300dafef
commit
ae1db05f04
1 changed files with 0 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue