diff options
author | Tleiades Hax | 2007-10-16 05:20:45 +0000 |
---|---|---|
committer | Tleiades Hax | 2007-10-16 05:20:45 +0000 |
commit | 58ef357cbf74216629aa3baa470889104eff0de8 (patch) | |
tree | c79a22b0901a9ea608fa5087ef6a29b97bbcceaf /OpenSim/Tools/LaunchSLClient | |
parent | updated prebuild.xml (diff) | |
download | opensim-SC-58ef357cbf74216629aa3baa470889104eff0de8.zip opensim-SC-58ef357cbf74216629aa3baa470889104eff0de8.tar.gz opensim-SC-58ef357cbf74216629aa3baa470889104eff0de8.tar.bz2 opensim-SC-58ef357cbf74216629aa3baa470889104eff0de8.tar.xz |
Added support for 64 bit windows
Diffstat (limited to 'OpenSim/Tools/LaunchSLClient')
-rw-r--r-- | OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs index 619f6de..38c5435 100644 --- a/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs +++ b/OpenSim/Tools/LaunchSLClient/LaunchSLClient/Form1.cs | |||
@@ -71,7 +71,11 @@ namespace LaunchSLClient | |||
71 | regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Linden Research, Inc.\SecondLife"); | 71 | regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Linden Research, Inc.\SecondLife"); |
72 | if (regKey == null) | 72 | if (regKey == null) |
73 | { | 73 | { |
74 | throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1"); | 74 | regKey = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Wow6432Node\Linden Research, Inc.\SecondLife"); |
75 | if (regKey == null) | ||
76 | { | ||
77 | throw new LauncherException("Can't find Second Life. Are you sure it is installed?", "LauncherException.Form1"); | ||
78 | } | ||
75 | } | 79 | } |
76 | Object exe = regKey.GetValue("Exe"); | 80 | Object exe = regKey.GetValue("Exe"); |
77 | exeFlags = regKey.GetValue("Flags"); | 81 | exeFlags = regKey.GetValue("Flags"); |