2.9.7 Beta 23

This commit is contained in:
xkeyC 2023-11-01 19:40:50 +08:00
parent c0af7fdf7e
commit d77f556890
4 changed files with 7 additions and 3 deletions

View File

@ -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";

View File

@ -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;
}

View File

@ -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";
}

View File

@ -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;
}