feat:apk自动更新

This commit is contained in:
dzc committed 2026-07-30 17:06:17 +08:00
1 parent 2efa7a3c19
commit 0b287b0364
39 files changed
+2631 -478

No files matched your search

@@ -119,6 +119,16 @@ class SysSetting extends Equatable {
@JsonKey(defaultValue: false)
bool manualHardwareInput;
/// Root 最近一次真实命令检查状态;旧配置缺失时按未检查处理。
@JsonKey(defaultValue: RootAccessStatus.unknown)
RootAccessStatus rootAccessStatus;
/// Root 最近一次检查时间;旧配置或从未检查时为空。
DateTime? rootAccessCheckedAt;
/// Root 检查诊断摘要;可用时说明确认结果,不可用时说明拒绝、超时等原因。
String? rootAccessDiagnostic;
SysSetting({
required this.sysType,
this.androidId,
@@ -130,6 +140,9 @@ class SysSetting extends Equatable {
this.hardGroupId,
this.tenantList,
this.manualHardwareInput = false,
this.rootAccessStatus = RootAccessStatus.unknown,
this.rootAccessCheckedAt,
this.rootAccessDiagnostic,
this.buttonRadius = SettingButtonRadius.standard,
this.cardRadius = SettingCardRadius.standard,
this.buttonSize = SettingButtonSize.standard,
@@ -178,6 +191,9 @@ class SysSetting extends Equatable {
defaultPayDisplayType,
tenantList,
manualHardwareInput,
rootAccessStatus,
rootAccessCheckedAt?.millisecondsSinceEpoch,
rootAccessDiagnostic,
];
}