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;
}
scInstallPaths = await SCLoggerHelper.getGameInstallPath(listData,
withVersion: ["LIVE", "PTU", "EVO"], checkExists: true);
withVersion: ["LIVE", "PTU", "EPTU"], checkExists: true);
if (scInstallPaths.isNotEmpty) {
scInstalledPath = scInstallPaths.first;
}

View File

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

View File

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