增加官方服务器状态展示

取消盒子内置的 CCUGames 汉化
增加外部浏览器拓展下载图标
性能优化选项下线HDR调整(官方已经在 3.20 正式服试装设置 UI)
This commit is contained in:
2023-10-16 23:24:10 +08:00
parent 54d15444d9
commit 9a68167062
4 changed files with 228 additions and 83 deletions

View File

@ -39,6 +39,12 @@ class Api {
return l;
}
static Future<List> getScServerStatus() async {
final r =
await dio.get("https://status.robertsspaceindustries.com/index.json");
return r.data["systems"];
}
static Future<Map<String, dynamic>> getRepoJson(
String dir, String name) async {
final data = await getRepoData(dir, name);