mirror of
https://mirror.ghproxy.com/https://github.com/StarCitizenToolBox/app.git
synced 2024-12-23 08:53:43 +08:00
fix EPTU
This commit is contained in:
parent
6edda9bdc4
commit
447c314164
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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";
|
||||||
}
|
}
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user