mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-22 21:03:42 +08:00
fix EPTU
This commit is contained in:
parent
6edda9bdc4
commit
447c314164
@ -123,7 +123,7 @@ class HomeUIModel extends BaseUIModel {
|
||||
return;
|
||||
}
|
||||
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
|
||||
withVersion: ["LIVE", "PTU", "EVO"], checkExists: true);
|
||||
withVersion: ["LIVE", "PTU", "EPTU"], checkExists: true);
|
||||
if (scInstallPaths.isNotEmpty) {
|
||||
scInstalledPath = scInstallPaths.first;
|
||||
}
|
||||
|
@ -189,8 +189,8 @@ class LoginDialogModel extends BaseUIModel {
|
||||
return "LIVE";
|
||||
} else if (installPath.endsWith("\\PTU")) {
|
||||
return "PTU";
|
||||
} else if (installPath.endsWith("\\EVO")) {
|
||||
return "EVO";
|
||||
} else if (installPath.endsWith("\\EPTU")) {
|
||||
return "EPTU";
|
||||
}
|
||||
return "LIVE";
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ class ToolsUIModel extends BaseUIModel {
|
||||
return;
|
||||
}
|
||||
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
|
||||
checkExists: false, withVersion: ["LIVE", "PTU", "EVO"]);
|
||||
checkExists: false, withVersion: ["LIVE", "PTU", "EPTU"]);
|
||||
if (scInstallPaths.isNotEmpty) {
|
||||
scInstalledPath = scInstallPaths.first;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user