mirror of
https://ghfast.top/https://github.com/StarCitizenToolBox/app.git
synced 2025-06-28 05:34:45 +08:00
2.9.7 Beta 23
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user