905086
2026-11-07 7fd2270570811c0d29f0d5d87d11bfc4612e0743
fluttergamebox/lib/store/app_state.dart
@@ -157,6 +157,15 @@
    }
  }
  /// 清除指定工具已完成的任务记录(工具卸载后不再视为已安装)
  void clearFinishedToolTask(int toolId) {
    final t = activeTask;
    if (t != null && t.isTool && t.gameId == toolId && t.finished) {
      activeTask = null;
      notifyListeners();
    }
  }
  Future<void> startDownload(Game game) async {
    // 获取下载文件列表(服务端校验会员)
    final res = await ApiService.downloadInfo(game.id);