diff --git a/lib/common/conf.dart b/lib/common/conf.dart index c4893b7..06a7126 100644 --- a/lib/common/conf.dart +++ b/lib/common/conf.dart @@ -14,8 +14,8 @@ import 'package:window_manager/window_manager.dart'; import '../base/ui.dart'; class AppConf { - static const String appVersion = "2.9.8 Beta"; - static const int appVersionCode = 24; + static const String appVersion = "2.9.9 Beta"; + static const int appVersionCode = 25; static const String appVersionDate = "2023-11-03"; static const String gitlabHomeUrl = diff --git a/lib/ui/tools/tools_ui_model.dart b/lib/ui/tools/tools_ui_model.dart index 6cceaf3..5bf0738 100644 --- a/lib/ui/tools/tools_ui_model.dart +++ b/lib/ui/tools/tools_ui_model.dart @@ -4,6 +4,7 @@ import 'dart:io'; import 'package:dio/dio.dart'; import 'package:flutter/foundation.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; +import 'package:starcitizen_doctor/api/analytics.dart'; import 'package:starcitizen_doctor/base/ui_model.dart'; import 'package:starcitizen_doctor/common/conf.dart'; import 'package:starcitizen_doctor/common/helper/log_helper.dart'; @@ -349,6 +350,7 @@ class ToolsUIModel extends BaseUIModel { "P4k 是星际公民的核心游戏文件,高达近 100GB,盒子提供的离线下载是为了帮助一些p4k文件下载超级慢的用户。" "\n\n接下来会弹窗询问您保存位置(可以选择星际公民文件夹也可以选择别处),下载完成后请确保 P4K 文件夹位于 LIVE 文件夹内,之后使用星际公民启动器校验更新即可。"); + AnalyticsApi.touch("p4k_download"); final r = await showDialog( context: context!, dismissWithEsc: false,