mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 00:33:42 +08:00
2.9.7 Beta 23
This commit is contained in:
parent
c0af7fdf7e
commit
d77f556890
@ -15,7 +15,7 @@ import '../base/ui.dart';
|
||||
class AppConf {
|
||||
static const String appVersion = "2.9.7 Beta";
|
||||
static const int appVersionCode = 23;
|
||||
static const String appVersionDate = "2023-10-30";
|
||||
static const String appVersionDate = "2023-11-01";
|
||||
|
||||
static const String gitlabHomeUrl =
|
||||
"https://jihulab.com/StarCitizenCN_Community/StarCitizenDoctor";
|
||||
|
@ -125,7 +125,8 @@ class HomeUIModel extends BaseUIModel {
|
||||
return;
|
||||
}
|
||||
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
|
||||
withVersion: ["LIVE", "PTU", "EPTU"], checkExists: true);
|
||||
withVersion: ["LIVE", "PTU", "EPTU", "TECH-PREVIEW"],
|
||||
checkExists: true);
|
||||
if (scInstallPaths.isNotEmpty) {
|
||||
scInstalledPath = scInstallPaths.first;
|
||||
}
|
||||
|
@ -191,6 +191,8 @@ class LoginDialogModel extends BaseUIModel {
|
||||
return "PTU";
|
||||
} else if (installPath.endsWith("\\EPTU")) {
|
||||
return "EPTU";
|
||||
} else if (installPath.endsWith("\\TECH-PREVIEW")) {
|
||||
return "TECH-PREVIEW";
|
||||
}
|
||||
return "LIVE";
|
||||
}
|
||||
|
@ -185,7 +185,8 @@ class ToolsUIModel extends BaseUIModel {
|
||||
return;
|
||||
}
|
||||
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
|
||||
checkExists: false, withVersion: ["LIVE", "PTU", "EPTU"]);
|
||||
checkExists: false,
|
||||
withVersion: ["LIVE", "PTU", "EPTU", "TECH-PREVIEW"]);
|
||||
if (scInstallPaths.isNotEmpty) {
|
||||
scInstalledPath = scInstallPaths.first;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user