mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 06:33:43 +08:00
upgrade
This commit is contained in:
parent
14012b0c2d
commit
8e4fb2fd18
@ -11,9 +11,9 @@ import 'package:window_manager/window_manager.dart';
|
|||||||
import '../base/ui.dart';
|
import '../base/ui.dart';
|
||||||
|
|
||||||
class AppConf {
|
class AppConf {
|
||||||
static const String appVersion = "2.9.5+2 Beta";
|
static const String appVersion = "2.9.6 Beta";
|
||||||
static const int appVersionCode = 20;
|
static const int appVersionCode = 21;
|
||||||
static const String appVersionDate = "2023-10-18";
|
static const String appVersionDate = "2023-10-28";
|
||||||
|
|
||||||
static const String gitlabHomeUrl =
|
static const String gitlabHomeUrl =
|
||||||
"https://jihulab.com/StarCitizenCN_Community/StarCitizenDoctor";
|
"https://jihulab.com/StarCitizenCN_Community/StarCitizenDoctor";
|
||||||
@ -23,7 +23,8 @@ class AppConf {
|
|||||||
"https://jihulab.com/StarCitizenCN_Community/api/-/raw/main/";
|
"https://jihulab.com/StarCitizenCN_Community/api/-/raw/main/";
|
||||||
static const String gitlabApiPath = "https://jihulab.com/api/v4/";
|
static const String gitlabApiPath = "https://jihulab.com/api/v4/";
|
||||||
|
|
||||||
static const String webTranslateHomeUrl= "https://ch.citizenwiki.cn/json-files/locales";
|
static const String webTranslateHomeUrl =
|
||||||
|
"https://ch.citizenwiki.cn/json-files/locales";
|
||||||
|
|
||||||
static late final String applicationSupportDir;
|
static late final String applicationSupportDir;
|
||||||
|
|
||||||
@ -40,7 +41,7 @@ class AppConf {
|
|||||||
try {
|
try {
|
||||||
DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
|
DeviceInfoPlugin deviceInfo = DeviceInfoPlugin();
|
||||||
windowsDeviceInfo = await deviceInfo.windowsInfo;
|
windowsDeviceInfo = await deviceInfo.windowsInfo;
|
||||||
}catch (_){}
|
} catch (_) {}
|
||||||
|
|
||||||
/// init Data
|
/// init Data
|
||||||
applicationSupportDir =
|
applicationSupportDir =
|
||||||
@ -89,8 +90,7 @@ class AppConf {
|
|||||||
try {
|
try {
|
||||||
networkVersionData = await Api.getAppVersion();
|
networkVersionData = await Api.getAppVersion();
|
||||||
dPrint(
|
dPrint(
|
||||||
"lastVersion=${networkVersionData?.lastVersion} ${networkVersionData
|
"lastVersion=${networkVersionData?.lastVersion} ${networkVersionData?.lastVersionCode}");
|
||||||
?.lastVersionCode}");
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
dPrint("_checkUpdate Error:$e");
|
dPrint("_checkUpdate Error:$e");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user