From 75273af5b83d6c28a63a6fdc87a70f78926da8da Mon Sep 17 00:00:00 2001 From: xkeyC <3334969096@qq.com> Date: Wed, 4 Sep 2024 21:22:07 +0800 Subject: [PATCH] fix: urls --- lib/api/api.dart | 2 +- lib/main.dart | 4 ++-- lib/ui/index_ui.dart | 5 ++--- web/index.html | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/lib/api/api.dart b/lib/api/api.dart index 9cebb15..b7361e9 100644 --- a/lib/api/api.dart +++ b/lib/api/api.dart @@ -70,7 +70,7 @@ class Api { static Future getScServerStatus() async { final r = await RSHttp.getText( - "https://status.robertsspaceindustries.com/index.json"); + "https:///web-proxy.scbox.xkeyc.cn/rsi_status/index.json"); final map = json.decode(r); return map["systems"]; } diff --git a/lib/main.dart b/lib/main.dart index d5f82dd..323bc39 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -20,8 +20,8 @@ class App extends HookConsumerWidget { final router = ref.watch(routerProvider); final appState = ref.watch(appGlobalModelProvider); return FluentApp.router( - title: "StarCitizenToolBox", - restorationScopeId: "StarCitizenToolBox", + title: "SCToolBox Lite", + restorationScopeId: "SCToolBox Lite", themeMode: ThemeMode.dark, localizationsDelegates: const [ S.delegate, diff --git a/lib/ui/index_ui.dart b/lib/ui/index_ui.dart index 190e01a..7383c0c 100644 --- a/lib/ui/index_ui.dart +++ b/lib/ui/index_ui.dart @@ -52,9 +52,8 @@ class IndexUI extends HookConsumerWidget { fit: BoxFit.cover, ), const SizedBox(width: 12), - Text(S.current.app_index_version_info( - ConstConf.appVersion, - ConstConf.isMSE ? "" : " Dev")), + Text( + "${S.current.app_index_version_info(ConstConf.appVersion, ConstConf.isMSE ? "" : " Dev")} [PREVIEW]"), ], ), ); diff --git a/web/index.html b/web/index.html index a345276..8ee88b7 100644 --- a/web/index.html +++ b/web/index.html @@ -29,7 +29,7 @@ - starcitizentoolbox_web + SCToolBox Lite