mirror of
https://github.com/riperiperi/Simitone.git
synced 2025-01-22 09:11:52 -05:00
Fix: Where is my favorite game?
This commit is contained in:
parent
0bfb91fa58
commit
b66a1746f8
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ namespace Simitone.Windows.GameLocator
|
|||
if (Array.Exists(softwareKey.GetSubKeyNames(), delegate (string s) { return s.Equals("Maxis", StringComparison.InvariantCultureIgnoreCase); }))
|
||||
{
|
||||
RegistryKey maxisKey = softwareKey.OpenSubKey("Maxis");
|
||||
if (Array.Exists(maxisKey.GetSubKeyNames(), delegate (string s) { return s.Equals("The Sims Online", StringComparison.InvariantCultureIgnoreCase); }))
|
||||
if (Array.Exists(maxisKey.GetSubKeyNames(), delegate (string s) { return s.Equals("The Sims", StringComparison.InvariantCultureIgnoreCase); }))
|
||||
{
|
||||
RegistryKey tsoKey = maxisKey.OpenSubKey("The Sims");
|
||||
string installDir = (string)tsoKey.GetValue("InstallPath");
|
||||
|
|
Loading…
Reference in a new issue