We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbfbf13 commit 118d376Copy full SHA for 118d376
1 file changed
ModAPI.Common/SupportInfo.cs
@@ -96,8 +96,15 @@ public static string GameFullVersionInfoString
96
return "Game not found";
97
}
98
99
- var sporeAppPath = Path.Combine(SporePath.GetSporebinEP1Path(), "SporeApp.exe");
100
- var laaString = LAAUtils.IsLAA(sporeAppPath) ? ", LAA" : "";
+ // Check if LAA
+ var laaString = "";
101
+ var versionType = GameVersion.DetectVersion(Path.Combine(SporePath.GetSporebinEP1Path(), "SporeApp.exe"));
102
+ var exeName = GameVersion.GetExecutableFileName(versionType);
103
+ if (exeName != null)
104
+ {
105
+ var sporeAppPath = Path.Combine(SporePath.GetSporebinEP1Path(), exeName);
106
+ laaString = LAAUtils.IsLAA(sporeAppPath) ? ", LAA" : "";
107
+ }
108
109
return $"{GameVersionString} - {GameVersionTypeString}{laaString}";
110
0 commit comments