基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。
fix: fix hive error dialog on windows platform
Predidit656eb71aef3d
diff --git a/lib/main.dart b/lib/main.dartindex a1f273fb..bdcfd903 100644--- a/lib/main.dart+++ b/lib/main.dart@@ -37,6 +37,15 @@ void main() async {'${(await getApplicationSupportDirectory()).path}/hive');await GStorage.init();} catch (_) {+ if (Platform.isWindows) {+ await windowManager.ensureInitialized();+ windowManager.waitUntilReadyToShow(null, () async {+ // Native window show has been blocked in `flutter_windows.cppL36` to avoid flickering.+ // Without this. the window will never show on Windows.+ await windowManager.show();+ await windowManager.focus();+ });+ }runApp(MaterialApp(title: '初始化失败',localizationsDelegates: GlobalMaterialLocalizations.delegates,