diff --git a/lib/main.dart b/lib/main.dart index 216d23df..d635dacc 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -48,6 +48,10 @@ Future main(List args) async { return true; }; + // Provides information on this app from the pubspec.yaml. + final packageInfo = await PackageInfo.fromPlatform(); + log.i('Starting Nyrna v${packageInfo.version}'); + final processRepository = ProcessRepository.init(); final activeWindow = ActiveWindow( @@ -88,9 +92,6 @@ Future main(List args) async { final themeCubit = await ThemeCubit.init(storage); - // Provides information on this app from the pubspec.yaml. - final packageInfo = await PackageInfo.fromPlatform(); - final systemTray = SystemTrayManager(); await systemTray.initialize();