This commit is contained in:
xkeyC 2023-10-28 20:57:38 +08:00
parent 6edda9bdc4
commit 447c314164
3 changed files with 4 additions and 4 deletions

View File

@ -123,7 +123,7 @@ class HomeUIModel extends BaseUIModel {
return; return;
} }
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData, scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
withVersion: ["LIVE", "PTU", "EVO"], checkExists: true); withVersion: ["LIVE", "PTU", "EPTU"], checkExists: true);
if (scInstallPaths.isNotEmpty) { if (scInstallPaths.isNotEmpty) {
scInstalledPath = scInstallPaths.first; scInstalledPath = scInstallPaths.first;
} }

View File

@ -189,8 +189,8 @@ class LoginDialogModel extends BaseUIModel {
return "LIVE"; return "LIVE";
} else if (installPath.endsWith("\\PTU")) { } else if (installPath.endsWith("\\PTU")) {
return "PTU"; return "PTU";
} else if (installPath.endsWith("\\EVO")) { } else if (installPath.endsWith("\\EPTU")) {
return "EVO"; return "EPTU";
} }
return "LIVE"; return "LIVE";
} }

View File

@ -183,7 +183,7 @@ class ToolsUIModel extends BaseUIModel {
return; return;
} }
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData, scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
checkExists: false, withVersion: ["LIVE", "PTU", "EVO"]); checkExists: false, withVersion: ["LIVE", "PTU", "EPTU"]);
if (scInstallPaths.isNotEmpty) { if (scInstallPaths.isNotEmpty) {
scInstalledPath = scInstallPaths.first; scInstalledPath = scInstallPaths.first;
} }