diff options
author | Adam Frisby | 2007-07-29 07:24:20 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-29 07:24:20 +0000 |
commit | 039d46e8faf5c34d0082534304590643618b836c (patch) | |
tree | 34f983d67ef8ffb3e9fb77c358a5d6782be62be5 /OpenSim/Region/Application/Application.cs | |
parent | * Added new compatibility functions to Util (diff) | |
download | opensim-SC-039d46e8faf5c34d0082534304590643618b836c.zip opensim-SC-039d46e8faf5c34d0082534304590643618b836c.tar.gz opensim-SC-039d46e8faf5c34d0082534304590643618b836c.tar.bz2 opensim-SC-039d46e8faf5c34d0082534304590643618b836c.tar.xz |
* OpenSim now performs compatibility checks at startup and warns the user if the Operating System or Platform version they are using is unsupported.
Diffstat (limited to 'OpenSim/Region/Application/Application.cs')
-rw-r--r-- | OpenSim/Region/Application/Application.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index ff261d0..f16cad4 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs | |||
@@ -38,8 +38,20 @@ namespace OpenSim | |||
38 | public static void Main(string[] args) | 38 | public static void Main(string[] args) |
39 | { | 39 | { |
40 | Console.WriteLine("OpenSim " + VersionInfo.Version + "\n"); | 40 | Console.WriteLine("OpenSim " + VersionInfo.Version + "\n"); |
41 | Console.WriteLine("Starting...\n"); | 41 | |
42 | Console.Write("Performing compatibility checks... "); | ||
43 | string supported = ""; | ||
44 | if (OpenSim.Framework.Utilities.Util.IsEnvironmentSupported(ref supported)) | ||
45 | { | ||
46 | Console.WriteLine(" Environment is compatible.\n"); | ||
47 | } | ||
48 | else | ||
49 | { | ||
50 | Console.WriteLine(" Environment is unsupported (" + supported + ")\n"); | ||
51 | } | ||
42 | 52 | ||
53 | Console.WriteLine("Starting...\n"); | ||
54 | |||
43 | bool sandBoxMode = false; | 55 | bool sandBoxMode = false; |
44 | bool startLoginServer = false; | 56 | bool startLoginServer = false; |
45 | string physicsEngine = "basicphysics"; | 57 | string physicsEngine = "basicphysics"; |