diff --git a/lib/common/conf/conf.dart b/lib/common/conf/conf.dart index 1accec8..47afeec 100644 --- a/lib/common/conf/conf.dart +++ b/lib/common/conf/conf.dart @@ -1,7 +1,7 @@ class ConstConf { - static const String appVersion = "3.0.0 Beta3"; - static const int appVersionCode = 74; - static const String appVersionDate = "2025-11-26"; + static const String appVersion = "3.0.0 Beta5"; + static const int appVersionCode = 75; + static const String appVersionDate = "2025-12-06"; static const _gameChannels = ["LIVE", "4.0_PREVIEW", "PTU", "EPTU", "TECH-PREVIEW", "HOTFIX"]; static const isMSE = String.fromEnvironment("MSE", defaultValue: "false") == "true"; static const win32AppId = isMSE diff --git a/lib/provider/party_room.dart b/lib/provider/party_room.dart index 45252f8..db863c2 100644 --- a/lib/provider/party_room.dart +++ b/lib/provider/party_room.dart @@ -916,7 +916,7 @@ class PartyRoom extends _$PartyRoom { state = state.copyWith(room: state.room.copyWith(eventStreamDisconnected: false)); } - /// 检查事件流是否处于活跃状态 + //ignore: avoid_public_notifier_properties bool get isEventStreamActive => _eventStreamSubscription != null && !(_eventStreamSubscription?.isPaused ?? true); // ========== 通用服务方法 ========== diff --git a/lib/ui/home/dialogs/home_game_login_dialog_ui_model.dart b/lib/ui/home/dialogs/home_game_login_dialog_ui_model.dart index a40fabe..9e41cb3 100644 --- a/lib/ui/home/dialogs/home_game_login_dialog_ui_model.dart +++ b/lib/ui/home/dialogs/home_game_login_dialog_ui_model.dart @@ -116,8 +116,8 @@ class HomeGameLoginUIModel extends _$HomeGameLoginUIModel { ); } - // ignore: avoid_build_context_in_providers Future goWebView( + // ignore: avoid_build_context_in_providers BuildContext context, String title, String url, { diff --git a/lib/ui/home/game_doctor/game_doctor_ui_model.dart b/lib/ui/home/game_doctor/game_doctor_ui_model.dart index f4385f4..573b362 100644 --- a/lib/ui/home/game_doctor/game_doctor_ui_model.dart +++ b/lib/ui/home/game_doctor/game_doctor_ui_model.dart @@ -147,8 +147,8 @@ class HomeGameDoctorUIModel extends _$HomeGameDoctorUIModel { } } - // ignore: avoid_build_context_in_providers Future _checkGameRunningLog( + // ignore: avoid_build_context_in_providers BuildContext context, String scInstalledPath, List> checkResult, @@ -203,8 +203,8 @@ class HomeGameDoctorUIModel extends _$HomeGameDoctorUIModel { final _cnExp = RegExp(r"[^\x00-\xff]"); - // ignore: avoid_build_context_in_providers Future _checkPreInstall( + // ignore: avoid_build_context_in_providers BuildContext context, String scInstalledPath, List> checkResult, diff --git a/pubspec.yaml b/pubspec.yaml index 443bfbc..85b9610 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ dependencies: sdk: flutter flutter_riverpod: ^3.0.3 riverpod_annotation: ^3.0.3 - flutter_hooks: ^0.21.3 + flutter_hooks: ^0.21.3+1 hooks_riverpod: ^3.0.3 json_annotation: ^4.9.0 go_router: ^17.0.0 @@ -97,7 +97,6 @@ flutter: uses-material-design: true assets: - assets/ - - assets/binary/ - assets/countdown/ - assets/web/input_method/ - assets/web/input_method/js/ @@ -113,7 +112,7 @@ msix_config: publisher_display_name: xkeyC Studio identity_name: 56575xkeyC.MSE publisher: CN=B54C897B-C263-4680-B6AB-4913C603DF87 - msix_version: 3.0.1.0 + msix_version: 3.0.5.0 logo_path: ./assets/app_logo.png capabilities: internetClient,allowElevation languages: zh-cn