diff --git a/lib/main.dart b/lib/main.dart index b59666980..9c7e4c567 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -63,7 +63,9 @@ main(List args) async { databaseFactory = databaseFactoryFfi; } WidgetsFlutterBinding.ensureInitialized(); - SingleInstancePlugin.initialize(); + if (Platform.isWindows) { + SingleInstancePlugin.initialize(); + } await initFluent(args);